Interface IAttributeProvider
Contract for reflective objects providing runtime attributes.
Namespace: Kephas.Runtime
Assembly: Kephas.Core.dll
Syntax
public interface IAttributeProvider
Methods
| Improve this Doc View SourceGetAttributes<TAttribute>()
Gets the attribute of the provided type.
Declaration
IEnumerable<TAttribute> GetAttributes<TAttribute>()
where TAttribute : Attribute
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<TAttribute> | The attribute of the provided type. |
Type Parameters
| Name | Description |
|---|---|
| TAttribute | Type of the attribute. |