-
Notifications
You must be signed in to change notification settings - Fork 0
AttributeResolver
Assembly: Narumikazuchi.dll
Namespace: Narumikazuchi
Checks if a custom attribute is defined or fetches the custom attributes applied to a type, method, parameter etc.
public static class AttributeResolverFetchAllAttributes<TAttribute>(System.Reflection.Assembly)
FetchAllAttributes<TAttribute>(System.Reflection.MemberInfo)
FetchAllAttributes<TAttribute>(System.Reflection.ParameterInfo)
FetchSingleAttribute<TAttribute>(System.Reflection.ParameterInfo)
FetchSingleAttribute<TAttribute>(System.Reflection.MemberInfo)
FetchSingleAttribute<TAttribute>(System.Reflection.ParameterInfo)
HasAttribute<TAttribute>(System.Reflection.Assembly)
HasAttribute<TAttribute>(System.Reflection.MemberInfo)
HasAttribute<TAttribute>(System.Reflection.ParameterInfo)
Fetches all attributes of type 'TAttribute' from the specified System.Reflection.Assembly.
System.Collections.Generic.IEnumerable<TAttribute> FetchAllAttributes<TAttribute>(System.Reflection.Assembly assembly)
where TAttribute : System.Attribute;Fetches all attributes of type 'TAttribute' from the specified System.Reflection.MemberInfo.
System.Collections.Generic.IEnumerable<TAttribute> FetchAllAttributes<TAttribute>(System.Reflection.MemberInfo member)
where TAttribute : System.Attribute;Fetches all attributes of type 'TAttribute' from the specified System.Reflection.ParameterInfo.
System.Collections.Generic.IEnumerable<TAttribute> FetchAllAttributes<TAttribute>(System.Reflection.ParameterInfo parameter)
where TAttribute : System.Attribute;Fetches the only allowed attribute of type 'TAttribute' from the specified System.Reflection.Assembly.
TAttribute FetchOnlyAllowedAttribute<TAttribute>(System.Reflection.Assembly assembly)
where TAttribute : System.Attribute;Fetches the only allowed attribute of type 'TAttribute' from the specified System.Reflection.MemberInfo.
TAttribute FetchOnlyAllowedAttribute<TAttribute>(System.Reflection.MemberInfo member)
where TAttribute : System.Attribute;Fetches the only allowed attribute of type 'TAttribute' from the specified System.Reflection.ParameterInfo.
TAttribute FetchOnlyAllowedAttribute<TAttribute>(System.Reflection.ParameterInfo parameter)
where TAttribute : System.Attribute;Checks if the specified System.Reflection.Assembly has at least one 'TAttribute' defined.
System.Boolean HasAttribute<TAttribute>(System.Reflection.Assembly assembly)
where TAttribute : System.Attribute;Checks if the specified System.Reflection.MemberInfohas at least one 'TAttribute' defined.
System.Boolean HasAttribute<TAttribute>(System.Reflection.MemberInfo member)
where TAttribute : System.Attribute;Checks if the specified System.Reflection.ParameterInfohas at least one 'TAttribute' defined.
System.Boolean HasAttribute<TAttribute>(System.Reflection.ParameterInfo parameter)
where TAttribute : System.Attribute;