CustomAttributeAdapter Constructor

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

Definition

Initializes a new instance of the CustomAttributeAdapter class.
public CustomAttributeAdapter(CustomAttributeData attribute, AttributeTarget target)

Parameters

attribute CustomAttributeData
The runtime custom attribute data to wrap.
target AttributeTarget
The target where the attribute is applied.

Exceptions

ArgumentNullException
Thrown when attribute is null.