NAnt SDK Documentation - v0.92 |

# PluginConsumerAttribute Constructor

Initializes a new instance of the PluginConsumerAttribute with the specified type.

[Visual Basic]
Public Sub New( _
ByVal type As Type _
)
[C#]
public PluginConsumerAttribute(
Type type
);

#### Parameters

type
  The type of the IPlugin to consume.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentNullException | type is a null reference (Nothing in Visual Basic).

#### See Also

PluginConsumerAttribute Class | NAnt.Core.Extensibility Namespace