Ejemplo n.º 1
0
 public void Initialize(
     IDataRepository dataRepository,
     ExchangeItem.Factory itemFactory)
 {
     _itemFactory  = itemFactory;
     _exchangeList = dataRepository.GetContainer <List <Exchange> >(DataKey.ExchangeList);
 }
Ejemplo n.º 2
0
 public void Construct(ExchangeItem.Factory factory, IDataHolder <IExchangable> exchangables)
 {
     this.factory      = factory;
     this.exchangables = exchangables;
 }