public void TestsCleanup()
        {
            this.boxService          = null;
            this.storageService      = null;
            this.navigationService   = null;
            this.localizationService = null;
            this.dialogService       = null;

            this.createBoxViewModel = null;
        }
        public void TestsInitialize()
        {
            this.boxService          = new FakeBoxService();
            this.storageService      = new FakeStorageService();
            this.navigationService   = new FakeNavigationService();
            this.localizationService = new FakeLocalizationService();
            this.dialogService       = new FakeDialogService();

            this.createBoxViewModel = new CreateBoxViewModel(this.boxService, this.storageService,
                                                             this.navigationService, this.localizationService, this.dialogService);
        }
 public CreateBox(IConnectionService connectionservice, string moveId, Box box)
 {
     //Initilize as an edit
     InitializeComponent();
     BindingContext = new CreateBoxViewModel(connectionservice, moveId, box);
 }
 public CreateBox(IConnectionService connectionservice, string moveId)
 {
     //Initilize as delete
     InitializeComponent();
     BindingContext = new CreateBoxViewModel(connectionservice, moveId);
 }