|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Constructor Summary | |
---|---|
FieldMethodizer() Allow object to be initialized without any data. You would use addObject() to add data later. |
|
FieldMethodizer(string s) Constructor that takes as it's arg the name of the class to methodize. |
|
FieldMethodizer(object o) Constructor that takes as it's arg a living object to methodize. Note that it will still only methodized the public static fields of the class. |
Method Summary | |
---|---|
void |
addObject(object o) Add an Object to methodize |
void |
addObject(string s) Add the Name of the class to methodize |
object |
Get(string fieldName) Accessor method to get the fields by name. |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public FieldMethodizer()
Allow object to be initialized without any data. You would use addObject() to add data later.
public FieldMethodizer(string s)
Constructor that takes as it's arg the name of the class to methodize.
Parameters:
s
- Name of class to methodize.public FieldMethodizer(object o)
Constructor that takes as it's arg a living object to methodize. Note that it will still only methodized the public static fields of the class.
Parameters:
o
- object to methodize.Method Detail |
---|
public void addObject(object o)
Add an Object to methodize
public void addObject(string s)
Add the Name of the class to methodize
public object Get(string fieldName)
Accessor method to get the fields by name.
Parameters:
fieldName
- Name of static field to retrieve
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |