Class PropertyInfoEx
Class containing some extension methods for System.Reflection.PropertyInfo.
Inheritance
System.Object
PropertyInfoEx
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:Extend
Assembly:Extend.dll
Syntax
public static class PropertyInfoEx
Methods
| Improve this Doc View SourceToMemberInformation(PropertyInfo, IMemberInformation)
Creates a IMemberInformation based on the given System.Reflection.PropertyInfo and parent information.
Declaration
public static IMemberInformation ToMemberInformation(this PropertyInfo propertyInfo, IMemberInformation parentMemberInformation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Reflection.PropertyInfo | propertyInfo | The property information. |
| IMemberInformation | parentMemberInformation | The parent of the given property. |
Returns
| Type | Description |
|---|---|
| IMemberInformation | Returns the new created member information. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | propertyInfo can not be null. |