메소드 | 설명 | |
---|---|---|
Add ( IList list, Object item ) : void |
Adds the specified object to the collection of objects.
|
|
ChangeGenericType ( Object value, |
Converts the specified value to the specified generic type.
|
|
ChangeGenericType ( Object value, |
Converts the specified value to the specified generic type.
|
|
ChangeType ( Object value, |
Converts the specified value to the specified type.
|
|
ChangeType ( Object value, |
Converts the specified value to the specified type.
|
|
GetConstructor ( |
Gets the default constructor for the specified type.
|
|
GetConstructor ( |
Gets the constructor for the specified type whose parameters match the supplied type array.
|
|
GetEntity ( IEnumerable entityList, int index ) : Object |
Gets the item within entityList at the position specified by index.
|
|
GetEntity ( IList entities, String propertyName, Object propertyValue ) : Object |
Gets the item within entityList whose property value matches the specifed value.
|
|
GetEntityList ( Object entityList ) : IList |
Converts the specified object into a collection of objects.
|
|
GetEntityList ( Object entity, String propertyName ) : IList |
Gets the value of the property with the specified name and returns it as a collection of objects.
|
|
GetMethod ( Object item, String methodName ) : |
Gets a MethodInfo object representing the method belonging to the object having the specified name.
|
|
GetMethod ( |
Gets a MethodInfo object representing the method belonging to the runtime type having the specified name.
|
|
GetNewEntity ( |
Creates a new instance of the specified type.
|
|
GetNewGenericEntity ( |
Creates a new instance of the specified generic type.
|
|
GetNewGenericEntity ( |
Creates a new instance of the specified generic type.
|
|
GetProperty ( Object item, String propertyName ) : |
Gets a PropertyInfo object representing the property belonging to the object having the specified name.
|
|
GetProperty ( |
Gets a PropertyInfo object representing the property belonging to the runtime type having the specified name.
|
|
GetPropertyValue ( Object item, String propertyName ) : Object |
Gets the value of the property with the specified name.
|
|
GetPropertyValue ( Object item, String propertyName, |
Gets the value of the property with the specified name.
|
|
GetStaticPropertyValue ( |
Gets the value of the static property with the specified name.
|
|
GetStaticPropertyValue ( |
Gets the value of the static property with the specified name.
|
|
GetType ( String typeName ) : |
Gets the System.Type with the specified name.
|
|
GetTypeNames ( ) : string |
Outputs a string containing the type names, delimited by ", "
|
|
GetTypes ( ) : System.Type[] |
Gets an array of System.Type objects which match the specified objects. NOTE: this method will throw an exception if any of the values held within the args array are null.
|
|
GuidTryParse ( string s, System.Guid &result ) : bool |
Converts the string representation of a Guid to its Guid equivalent. A return value indicates whether the operation succeeded.
|
|
HasEntities ( IList entities ) : bool |
Gets a value indicating whether the specified list contains any items.
|
|
InitEntityDateTimeValues ( Object entity ) : void |
Initializes the properties specified in propertyNames with the value of DateTime.Now for the specified entity.
|
|
InvokeMethod ( Object entity, String methodName ) : Object |
Invokes the specified method on the object using reflection.
|
|
InvokeMethod ( Object entity, String methodName, Object args ) : Object |
Invokes the specified method on the object using reflection. Passes the supplied arguments as method parameters.
|
|
InvokeMethod ( Object entity, String methodName, Object args, |
Invokes the specified method on the object using reflection. Passes the supplied arguments as method parameters.
|
|
IsPropertyValueEqual ( Object item, String propertyName, Object propertyValue ) : bool |
Determines if the property with the specified name equals the specified value.
|
|
MakeGenericType ( |
Creates a reference to a generic type using the specified type definition and the supplied type arguments.
|
|
Remove ( IList list, Object item ) : void |
Removes the specified object from the collection of objects.
|
|
SetEntityKeyValue ( Object entity, String entityKeyName ) : System.Guid |
Sets the value of the property with the specified name to the value returned by the Guid.NewGuid() method.
|
|
SetEntityValues ( Object entity, IDictionary values ) : void |
Sets the properties of the specified entity based on the name/value pairs found in the specified collection.
|
|
SetPropertyValue ( Object item, String propertyName, Object propertyValue ) : void |
Sets the value of the property with the specified name.
|
|
SetPropertyValue ( Object item, String propertyName, Object propertyValue, |
Sets the value of the property with the specified name.
|
|
SetPropertyValue ( Object item, String propertyName, Object propertyValue, |
Sets the value of the property with the specified name.
|
|
SetPropertyValue ( Object item, String propertyName, Object propertyValue, bool convertBlankToNull ) : void |
Sets the value of the property with the specified name.
|
public static Add ( IList list, Object item ) : void | ||
list | IList | A collection of objects. |
item | Object | The obejct to add. |
리턴 | void |
public static ChangeGenericType ( Object value, |
||
value | Object | The value to convert. |
conversionType | A System.Type to convert to. | |
리턴 | Object |
public static ChangeGenericType ( Object value, |
||
value | Object | The value to convert. |
conversionType | A System.Type to convert to. | |
convertBlankToNull | bool | A value indicating whether to treat /// empty string objects as null values. |
리턴 | Object |
public static ChangeType ( Object value, |
||
value | Object | The value to convert. |
conversionType | A System.Type to convert to. | |
리턴 | Object |
public static ChangeType ( Object value, |
||
value | Object | The value to convert. |
conversionType | A System.Type to convert to. | |
convertBlankToNull | bool | A value indicating whether to treat /// empty string objects as null values. |
리턴 | Object |
public static GetConstructor ( |
||
type | The runtime type. | |
리턴 |
public static GetConstructor ( |
||
type | The runtime type. | |
types | An array of constructor parameter types. | |
리턴 |
public static GetEntity ( IEnumerable entityList, int index ) : Object | ||
entityList | IEnumerable | The collection of business objects. |
index | int | The position within entityList that contains the current item. |
리턴 | Object |
public static GetEntity ( IList entities, String propertyName, Object propertyValue ) : Object | ||
entities | IList | A collection of objects. |
propertyName | String | The property name. |
propertyValue | Object | The property value. |
리턴 | Object |
public static GetEntityList ( Object entityList ) : IList | ||
entityList | Object | An object instance. |
리턴 | IList |
public static GetEntityList ( Object entity, String propertyName ) : IList | ||
entity | Object | An object instance. |
propertyName | String | The property name. |
리턴 | IList |
public static GetMethod ( Object item, String methodName ) : |
||
item | Object | An object instance. |
methodName | String | The method name. |
리턴 |
public static GetMethod ( |
||
type | The runtime type. | |
methodName | String | The method name. |
리턴 |
public static GetNewEntity ( |
||
type | The runtime type to instantiate. | |
리턴 | Object |
public static GetNewGenericEntity ( |
||
genericType | The runtime type. | |
리턴 | Object |
public static GetNewGenericEntity ( |
||
typeDefinition | A generic type definition. | |
typeArguments | An array of System.Type arguments. | |
리턴 | Object |
public static GetProperty ( Object item, String propertyName ) : |
||
item | Object | An object instance. |
propertyName | String | The property name. |
리턴 |
public static GetProperty ( |
||
type | The runtime type. | |
propertyName | String | The property name. |
리턴 |
public static GetPropertyValue ( Object item, String propertyName ) : Object | ||
item | Object | An object instance. |
propertyName | String | The property name. |
리턴 | Object |
public static GetPropertyValue ( Object item, String propertyName, |
||
item | Object | An object instance. |
propertyName | String | The property name. |
property | A reference to the |
|
리턴 | Object |
public static GetStaticPropertyValue ( |
||
type | The runtime type. | |
propertyName | String | The property name. |
리턴 | Object |
public static GetStaticPropertyValue ( |
||
type | The runtime type. | |
propertyName | String | The property name. |
property | A reference to the |
|
리턴 | Object |
public static GetType ( String typeName ) : |
||
typeName | String | The name of the type to get. |
리턴 |
public static GuidTryParse ( string s, System.Guid &result ) : bool | ||
s | string | A string containing a Guid to convert. |
result | System.Guid |
/// When this method returns, contains the Guid value equivalent to
/// the Guid contained in |
리턴 | bool |
public static HasEntities ( IList entities ) : bool | ||
entities | IList | A collection of objects. |
리턴 | bool |
public static InitEntityDateTimeValues ( Object entity ) : void | ||
entity | Object | The instance of an object to set the properties on. |
리턴 | void |
public static InvokeMethod ( Object entity, String methodName ) : Object | ||
entity | Object | An object instance. |
methodName | String | The method name. |
리턴 | Object |
public static InvokeMethod ( Object entity, String methodName, Object args ) : Object | ||
entity | Object | An object instance. |
methodName | String | The method name. |
args | Object | The method parameters. |
리턴 | Object |
public static InvokeMethod ( Object entity, String methodName, Object args, |
||
entity | Object | An object instance. |
methodName | String | The method name. |
args | Object | The method parameters. |
types | The method parameter types. | |
리턴 | Object |
public static IsPropertyValueEqual ( Object item, String propertyName, Object propertyValue ) : bool | ||
item | Object | An object instance. |
propertyName | String | The property name. |
propertyValue | Object | The property value. |
리턴 | bool |
public static MakeGenericType ( |
||
typeDefinition | A generic type definition. | |
typeArguments | An array of System.Type arguments. | |
리턴 |
public static Remove ( IList list, Object item ) : void | ||
list | IList | A collection of objects. |
item | Object | The object to remove. |
리턴 | void |
public static SetEntityKeyValue ( Object entity, String entityKeyName ) : System.Guid | ||
entity | Object | An object instance. |
entityKeyName | String | The property name. |
리턴 | System.Guid |
public static SetEntityValues ( Object entity, IDictionary values ) : void | ||
entity | Object | The instance of an object to set the properties on. |
values | IDictionary | An instance of System.Collections.IDictionary containing the name/value pairs. |
리턴 | void |
public static SetPropertyValue ( Object item, String propertyName, Object propertyValue ) : void | ||
item | Object | An object instance. |
propertyName | String | The property name. |
propertyValue | Object | The property value. |
리턴 | void |
public static SetPropertyValue ( Object item, String propertyName, Object propertyValue, |
||
item | Object | An object instance. |
propertyName | String | The property name. |
propertyValue | Object | The property value. |
property | A reference to the |
|
리턴 | void |
public static SetPropertyValue ( Object item, String propertyName, Object propertyValue, |
||
item | Object | An object instance. |
propertyName | String | The property name. |
propertyValue | Object | The property value. |
property | A reference to the |
|
convertBlankToNull | bool | Boolean indicating whether empty strings should be converted to null values. |
리턴 | void |
public static SetPropertyValue ( Object item, String propertyName, Object propertyValue, bool convertBlankToNull ) : void | ||
item | Object | An object instance. |
propertyName | String | The property name. |
propertyValue | Object | The property value. |
convertBlankToNull | bool | Boolean indicating whether empty strings should be converted to null values. |
리턴 | void |