public void Configure(IPurchasingBinder binder) { binder.RegisterStore("DummyStore", InstantiateDummyStore()); // Our Purchasing service implementation provides the real implementation. //binder.RegisterExtension<IStoreExtension>(new FakeManufacturerExtensions()); }
/// <summary> /// Registers a store with the purchasing binder. /// </summary> /// <param name="name"> The store name </param> /// <param name="store"> The store's instance </param> protected void RegisterStore(string name, IStore store) { m_Binder.RegisterStore(name, store); }
protected void RegisterStore(string name, IStore a) { m_Binder.RegisterStore(name, a); }