Class Addin
Namespace: AutoFixture.NUnit2.Addins
Assembly: AutoFixture.NUnit2.dll
The Addin class holds information about an addin.
[NUnitAddin(Name = "AutoFixture.NUnit2.AutoDataExtension", Description = "Provides auto-generated data specimens generated by AutoFixture as an extention to NUnit TestCase attribute.", Type = ExtensionType.Core|ExtensionType.Client|ExtensionType.Gui)]
public class Addin : IAddinInheritance
Implements
IAddin
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Addin()
public Addin()Methods
Install(IExtensionHost)
When called, the add-in installs itself into the host, if possible. Because NUnit uses separate hosts for the client and test domain environments, an add-in may be invited to istall itself more than once. The add-in is responsible for checking which extension points are supported by the host that is passed to it and taking the appropriate action.
public bool Install(IExtensionHost host)Parameters
host IExtensionHost
The host in which to install the add-in.
Returns
True if the add-in was installed, otehrwise false.