This topic has not yet been rated - Rate this topic

CustomAttributeExtensions Methods

April 12, 2014

  NameDescription
Public method Static member GetCustomAttribute(Assembly, Type) Retrieves a custom attribute of a specified type that is applied to a specified assembly.
Public method Static member GetCustomAttribute(MemberInfo, Type) Retrieves a custom attribute of a specified type that is applied to a specified member.
Public method Static member GetCustomAttribute(Module, Type) Retrieves a custom attribute of a specified type that is applied to a specified module.
Public method Static member GetCustomAttribute(ParameterInfo, Type) Retrieves a custom attribute of a specified type that is applied to a specified parameter.
Public method Static member GetCustomAttribute(MemberInfo, Type, Boolean) Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttribute(ParameterInfo, Type, Boolean) Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member GetCustomAttribute<T>(Assembly) Retrieves a custom attribute of a specified type that is applied to a specified assembly.
Public method Static member GetCustomAttribute<T>(MemberInfo) Retrieves a custom attribute of a specified type that is applied to a specified member.
Public method Static member GetCustomAttribute<T>(Module) Retrieves a custom attribute of a specified type that is applied to a specified module.
Public method Static member GetCustomAttribute<T>(ParameterInfo) Retrieves a custom attribute of a specified type that is applied to a specified parameter.
Public method Static member GetCustomAttribute<T>(MemberInfo, Boolean) Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttribute<T>(ParameterInfo, Boolean) Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member GetCustomAttributes(Assembly) Retrieves a collection of custom attributes that are applied to a specified assembly.
Public method Static member GetCustomAttributes(MemberInfo) Retrieves a collection of custom attributes that are applied to a specified member.
Public method Static member GetCustomAttributes(Module) Retrieves a collection of custom attributes that are applied to a specified module.
Public method Static member GetCustomAttributes(ParameterInfo) Retrieves a collection of custom attributes that are applied to a specified parameter.
Public method Static member GetCustomAttributes(Assembly, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
Public method Static member GetCustomAttributes(MemberInfo, Boolean) Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttributes(MemberInfo, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified member.
Public method Static member GetCustomAttributes(Module, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified module.
Public method Static member GetCustomAttributes(ParameterInfo, Boolean) Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member GetCustomAttributes(ParameterInfo, Type) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
Public method Static member GetCustomAttributes(MemberInfo, Type, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttributes(ParameterInfo, Type, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member GetCustomAttributes<T>(Assembly) Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
Public method Static member GetCustomAttributes<T>(MemberInfo) Retrieves a collection of custom attributes of a specified type that are applied to a specified member.
Public method Static member GetCustomAttributes<T>(Module) Retrieves a collection of custom attributes of a specified type that are applied to a specified module.
Public method Static member GetCustomAttributes<T>(ParameterInfo) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
Public method Static member GetCustomAttributes<T>(MemberInfo, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.
Public method Static member GetCustomAttributes<T>(ParameterInfo, Boolean) Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public method Static member IsDefined(Assembly, Type) Indicates whether custom attributes of a specified type are applied to a specified assembly.
Public method Static member IsDefined(MemberInfo, Type) Indicates whether custom attributes of a specified type are applied to a specified member.
Public method Static member IsDefined(Module, Type) Indicates whether custom attributes of a specified type are applied to a specified module.
Public method Static member IsDefined(ParameterInfo, Type) Indicates whether custom attributes of a specified type are applied to a specified parameter.
Public method Static member IsDefined(MemberInfo, Type, Boolean) Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors.
Public method Static member IsDefined(ParameterInfo, Type, Boolean) Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.
Top

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.