Example #1
0
 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);
 }
Example #3
0
 protected void RegisterStore(string name, IStore a)
 {
     m_Binder.RegisterStore(name, a);
 }