Class GeneratedPropertyInfo
Implements Property Info for generated properties (generated bindings)
Inheritance
System.Object
GeneratedPropertyInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Data
Assembly: EmptyKeys.UserInterface.dll
Syntax
public static class GeneratedPropertyInfo
Methods
GetGeneratedPropertyInfo(Type, String)
Gets the generated property information.
Declaration
public static IPropertyInfo GetGeneratedPropertyInfo(Type dataType, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | dataType | Type of the data. |
System.String | propertyName | Name of the property. |
Returns
Type | Description |
---|---|
IPropertyInfo |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | dataType or propertyName |
RegisterGeneratedProperty(Type, String, Type)
Registers the generated property.
Declaration
public static void RegisterGeneratedProperty(Type dataType, string propertyName, Type propertyInfoType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | dataType | Type of the data. |
System.String | propertyName | Name of the property. |
System.Type | propertyInfoType | Type of the property information. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | dataType or propertyName or propertyInfoType |