AttributeAwareMetadataAdapter<T> Class
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Provides the base implementation for metadata adapters for elements that can have custom attributes.
public abstract class AttributeAwareMetadataAdapter<T> : MetadataAdapter<T>, IWithCustomAttributes
where T : class, ICustomAttributeProvider- Inheritance
- object
- MetadataAdapter<T>
- AttributeAwareMetadataAdapter<T>
- Implements
- Inherited by
Type Parameters
T- The type of the reflection information.
Thread Safety
Constructors
| AttributeAwareMetadataAdapter<T>(T) | Initializes a new instance of the AttributeAwareMetadataAdapter<T> class. |
Properties
| CustomAttributes | Gets the custom attributes applied to the element. |
Methods
| CreateAttributeMetadata(CustomAttributeData) | Creates a custom attribute metadata instance for the given attribute data. |
| GetCustomAttributes() | Retrieves the underlying custom attributes of the member. |
| HasCustomAttribute(string) | Determines whether the element has a specific custom attribute applied. |

All public members of the type are guaranteed to be thread-safe.