Click or drag to resize

CustomAttributeProviderExtensions Class

Various extension methods.
Inheritance Hierarchy
SystemObject
  TomsToolbox.EssentialsCustomAttributeProviderExtensions

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public static class CustomAttributeProviderExtensions

The CustomAttributeProviderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCustomAttributesT
Returns a list of custom attributes identified by the type. GetCustomAttributes(Type, Boolean)
Public methodStatic memberGetCustomTypeConverter(ICustomAttributeProvider)
Gets the custom TypeConverter declared with the TypeConverterAttribute on the specified item.
Public methodStatic memberGetCustomTypeConverter(ICustomAttributeProvider, String)
Gets the custom TypeConverter declared with the TypeConverterAttribute on the specified item.
Public methodStatic memberTryGetDescription
Get the value of the DescriptionAttribute associated with the given item.
Public methodStatic memberTryGetDisplayName
Get the value of the DisplayNameAttribute associated with the given item.
Public methodStatic memberTryGetText
Get the value of the TextAttribute with the specified key that is associated with the given item.
Top
See Also