Version 3.0.1.0

PropertyInfoExtensions class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class PropertyInfoExtensions
Inheritance
  • System.Object
  • PropertyInfoExtensions

Methods

DeAliasProperty(PropertyInfo, Boolean)
public static PropertyInfo DeAliasProperty(this PropertyInfo propertyInfo, bool throwOnNotAliased = false)
Parameters
System.Reflection.PropertyInfo propertyInfo

System.Boolean throwOnNotAliased

Returns
System.Reflection.PropertyInfo

IsAliasProperty(PropertyInfo)
public static bool IsAliasProperty(this PropertyInfo propertyInfo)
Parameters
System.Reflection.PropertyInfo propertyInfo

Returns
System.Boolean

IsAutoProperty(PropertyInfo, Boolean)
public static bool IsAutoProperty(this PropertyInfo propInfo, bool allowVirtual = false)
Parameters
System.Reflection.PropertyInfo propInfo

System.Boolean allowVirtual

Returns
System.Boolean