public ExtenderFactoryTests() { this.core = Mock.Of <IExtenderCore <string> >(MockBehavior.Strict); this.factory = new ExtenderFactory <string, string>( new ExtenderFactoryCore <string, string>(new ConcurrentDictionary <string, Func <IExtenderCore> >(new[] { new KeyValuePair <string, Func <IExtenderCore> >("TEST-KEY", () => this.core) })), () => null); }
public Extender(IExtenderCore <TState> extensions, IExtender <TState> proxy, ServiceFactory factory) { this.extensions = extensions; this.proxy = proxy; this.factory = factory; }