Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities |
public static class MemberInfoExtensions
public static MemberInfo DeAlias(this MemberInfo memberInfo, bool throwOnNotAliased = false)
System.Reflection.MemberInfo | memberInfo | |
System.Boolean | throwOnNotAliased |
System.Reflection.MemberInfo |
public static T GetAttribute<T>(this ICustomAttributeProvider member)
where T : Attribute
System.Reflection.ICustomAttributeProvider | member |
T |
T |
public static T GetAttribute<T>(this ICustomAttributeProvider member, bool inherit)
where T : Attribute
System.Reflection.ICustomAttributeProvider | member | |
System.Boolean | inherit |
T |
T |
public static Attribute[] GetAttributes(this ICustomAttributeProvider member)
System.Reflection.ICustomAttributeProvider | member |
System.Attribute[] |
public static Attribute[] GetAttributes(this ICustomAttributeProvider member, bool inherit)
System.Reflection.ICustomAttributeProvider | member | |
System.Boolean | inherit |
System.Attribute[] |
public static IEnumerable<T> GetAttributes<T>(this ICustomAttributeProvider member)
where T : Attribute
System.Reflection.ICustomAttributeProvider | member |
System.Collections.Generic.IEnumerable<T> |
T |
public static IEnumerable<T> GetAttributes<T>(this ICustomAttributeProvider member, bool inherit)
where T : Attribute
System.Reflection.ICustomAttributeProvider | member | |
System.Boolean | inherit |
System.Collections.Generic.IEnumerable<T> |
T |
public static string GetNiceName(this MemberInfo member)
System.Reflection.MemberInfo | member |
System.String |
public static bool IsAlias(this MemberInfo memberInfo)
System.Reflection.MemberInfo | memberInfo |
System.Boolean |
public static bool IsDefined<T>(this ICustomAttributeProvider member)
where T : Attribute
System.Reflection.ICustomAttributeProvider | member |
System.Boolean |
T |
public static bool IsDefined<T>(this ICustomAttributeProvider member, bool inherit)
where T : Attribute
System.Reflection.ICustomAttributeProvider | member | |
System.Boolean | inherit |
System.Boolean |
T |
public static bool IsStatic(this MemberInfo member)
System.Reflection.MemberInfo | member |
System.Boolean |
public static bool SignaturesAreEqual(this MemberInfo a, MemberInfo b)
System.Reflection.MemberInfo | a | |
System.Reflection.MemberInfo | b |
System.Boolean |