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) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static class CustomAttributeProviderExtensions

The CustomAttributeProviderExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodGetCustomAttributesT Returns a list of custom attributes identified by the type. GetCustomAttributes(Type, Boolean)
Public Extension MethodGetCustomTypeConverter(ICustomAttributeProvider) Gets the custom TypeConverter declared with the TypeConverterAttribute on the specified item.
Public Extension MethodGetCustomTypeConverter(ICustomAttributeProvider, String) Gets the custom TypeConverter declared with the TypeConverterAttribute on the specified item.
Public Extension MethodTryGetDescription Get the value of the DescriptionAttribute associated with the given item.
Public Extension MethodTryGetDisplayName Get the value of the DisplayNameAttribute associated with the given item.
Public Extension MethodTryGetText Get the value of the TextAttribute with the specified key that is associated with the given item.
Top
See Also