Method AddExtension
AddExtension(CollectionExtension)
Attaches the provided extension to the collection.
Declaration
public void AddExtension(CollectionExtension extension)
Parameters
Type | Name | Description |
---|---|---|
CollectionExtension | extension | The extension to add to the collection. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the extension does not have correct attribute. |