MemberAdapterFactory.CreateCustomAttributeMetadata Method

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Creates the custom attribute metadata for the specified attribute data.
public virtual ICustomAttribute CreateCustomAttributeMetadata(CustomAttributeData attributeData, AttributeTarget target)

Parameters

attributeData CustomAttributeData
The reflection custom attribute data to get metadata for.
target AttributeTarget
The target element type of the attribute.

Returns

ICustomAttribute
A metadata representation of the specified custom attribute.

Exceptions

ArgumentNullException
Thrown when attributeData is null.