/// <summary> /// Uses the instance supplied by <paramref name = "instance" /> during the /// build process of the subject. The specified instance will be injected into the constructor. /// </summary> /// <typeparam name = "TInterfaceType">Specifies the interface type.</typeparam> /// <param name = "instance">Specifies the instance to be used for the specification.</param> protected static void Configure <TInterfaceType>(TInterfaceType instance) { GuardAgainstStaticContext(); _specificationController.Configure(instance); }
protected static void Configure <TInterfaceType>(TInterfaceType instance) { specificationController.Configure(instance); }