Constructor PluginAttribute
| Improve this Doc View SourcePluginAttribute(Type)
Initializes a new instance of the PluginAttribute class.
Declaration
public PluginAttribute(Type pluginType)
Parameters
Type | Name | Description |
---|---|---|
Type | pluginType | An instance of type Type that implements the contract. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentException |
or pluginType is not an instantiable class.
|