Exemplo n.º 1
0
 public void Setup()
 {
     _storage   = new Storage();
     _shape     = new ShapeFactory();
     _jsonlogic = new JsonLogic();
     _bl        = new BusinessLogic(_storage, _shape, _jsonlogic);
 }
Exemplo n.º 2
0
 public Report(IJsonLogic jsonLogic)
 {
     if (jsonLogic == null)
     {
         throw new ArgumentNullException(nameof(jsonLogic));
     }
     _jsonLogic = jsonLogic;
 }
Exemplo n.º 3
0
 public CounterPartyLogic(IJsonLogic jsonLogic)
 {
     if (jsonLogic == null)
     {
         throw new ArgumentNullException(nameof(jsonLogic));
     }
     _jsonLogic = jsonLogic;
 }
Exemplo n.º 4
0
 public DictionaryLogic(IJsonLogic jsonLogic)
 {
     if (jsonLogic == null)
     {
         throw new ArgumentNullException(nameof(jsonLogic));
     }
     _jsonLogic = jsonLogic;
 }
Exemplo n.º 5
0
 public WarehouseLogic(IJsonLogic jsonLogic)
 {
     if (jsonLogic == null)
     {
         throw new ArgumentNullException(nameof(jsonLogic));
     }
     _jsonLogic = jsonLogic;
 }
Exemplo n.º 6
0
 public BusinessLogic(IStorage storage, IShapeFactory shape, IJsonLogic jsonLogic)
 {
     _storage   = storage;
     _shape     = shape;
     _jsonlogic = jsonLogic;
 }