NAnt SDK Documentation - v0.92 |

# ExtensionBuilder Constructor

Initializes a instance of the ExtensionBuilder class for an extension in a given Assembly.

[Visual Basic]
Overloads Protected Sub New( _
ByVal assembly As Assembly _
)
[C#]
protected ExtensionBuilder(
Assembly assembly
);

#### Parameters

assembly
  The Assembly in which the extension is found.

#### Exceptions

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

#### See Also

ExtensionBuilder Class | NAnt.Core.Extensibility Namespace