Questions tagged [getproperty]
84 questions
0
votes
2 answers
C#, GetProperty BindingSource, authorTableAdapter
i have problem with GetProperty
partial class MyForm : Form
{
...
public System.Windows.Forms.BindingSource authorBindingSource = new ...;
public MethodicalWorkDataSetTableAdapters.authorTableAdapter authorTableAdapter = new ...;
…

Madyuskin
- 3
- 2
0
votes
1 answer
Hows the syntax to getProperty dynamically?
Is this possible and if, how?
item.foo = "moo"
def x = "foo"
item.[x] = "moo"

Christopher Klewes
- 11,181
- 18
- 74
- 102
0
votes
2 answers
.GetProperty() can use for log on in property into the property sent?
I'm using this function :
public static Object GetDate(this Object src, string propName)
{
return src.GetType().GetProperty(propName).GetValue(src, null);
}
Suppose a sent propName = "Name" and the src is for example 'Person' object.
This…

Fco
- 195
- 1
- 2
- 13
0
votes
1 answer
Umbraco Node.getProperty() types
I am setting up a new Umbraco site - this is the first time I have used Umbraco and was wondering how to get the generic properties for the node back as the type I set them as.
For example, I have created a generic property of includeSubNav which I…

Pete
- 57,112
- 28
- 117
- 166
0
votes
1 answer
getting user home folder from JWS signed jar
I'm trying to get the user home folder from a jar launched via JWS. The jar is signed and my JNLP has a line like this
but I when trying:
System.getProperty("homeFolder");
I get a security…

ldepablo
- 424
- 6
- 19
-1
votes
1 answer
Why does it get nothing that Getting private Properties? (c#)
public class A{
public Info m_Info = new Info();
Main()
{
Console.WriteLine(m_Info.Property_Count());
}
public class Info{
protected int i_Id;
protected string s_Name;
public int…

瓜生真難
- 3
- 2
-1
votes
1 answer
Selectively copying class members, some strings, some classes
I'm trying to write some effecient C# code to copy selected class members from object A to object B based on a list of the member names. The class in question will have a combination of string members and class members. Here's an example of the…

WebDrive
- 1,248
- 12
- 19
-1
votes
1 answer
Using prepared statement in Groovy
this is for testing purposes (automatic testing) SoapUI
def status = testRunner.testCase.getPropertyValue( "Status" )
def grid = testRunner.testCase.getPropertyValue( "Grid" )+"_V"
def grid1
if (["TABLE1","TABLE2"].contains(grid))
grid1…

gruia n
- 11
- 5
-2
votes
1 answer
Dynamically add a nested T class and fill it with another T class (GetProperty, GetType, SetValue)
I just want to pass a class T as a parameter. Example:
from:
SetValue (Car.parts, "engine");
to:
SetValue (T.partes, "engine");
simply pass your nested class of a generic as a parameter.
Thank you very much for the help.
HERE THE DETAILED.
but I…