Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities |
public static class PropertyInfoExtensions
public static PropertyInfo DeAliasProperty(this PropertyInfo propertyInfo, bool throwOnNotAliased = false)
System.Reflection.PropertyInfo | propertyInfo | The property to check. |
System.Boolean | throwOnNotAliased | if set to |
System.Reflection.PropertyInfo |
System.ArgumentException | The property was not aliased; this only occurs if throwOnNotAliased is true. |
public static bool IsAliasProperty(this PropertyInfo propertyInfo)
System.Reflection.PropertyInfo | propertyInfo | The property to check. |
System.Boolean |
|
public static bool IsAutoProperty(this PropertyInfo propInfo, bool allowVirtual = false)
System.Reflection.PropertyInfo | propInfo | |
System.Boolean | allowVirtual |
System.Boolean |