Exemple #1
0
 public MainPage()
 {
     this.InitializeComponent();
     this.Classifier    = new HttpImageClassifier();
     this.LabelCountDAO = new LabelCountDAO();
     this.Counter       = new ItemCounterImpl()
     {
         Classifier = this.Classifier
     };
     ShowText("0");
     LoadCameras();
 }
 public void SetUp()
 {
     _itemCounter = Mock.Create<IItemCounter>();
     _itemCostCalculator = Mock.Create<IItemCostCalculator>();
 }
 public TotalCostCalculator(IItemCounter itemCounter, IItemCostCalculator itemCostCalculator)
 {
     _itemCounter = itemCounter;
     _itemCostCalculator = itemCostCalculator;
 }