コード例 #1
0
ファイル: MainViewModel.cs プロジェクト: LogoFX/tools
 public MainViewModel(
     IViewModelCreatorService viewModelCreatorService,
     IDataService dataService)
 {
     _viewModelCreatorService = viewModelCreatorService;
     _dataService = dataService;
 }
コード例 #2
0
 public WarehouseItemsViewModel(
     IDataService dataService,
     IViewModelCreatorService viewModelCreatorService)
 {
     _dataService = dataService;
     _viewModelCreatorService = viewModelCreatorService;
 }
コード例 #3
0
 public WarehouseItemsViewModel(
     IDataService dataService,
     IViewModelCreatorService viewModelCreatorService)
 {
     _dataService             = dataService;
     _viewModelCreatorService = viewModelCreatorService;
 }
コード例 #4
0
 public MainViewModel(
     IViewModelCreatorService viewModelCreatorService,
     IDataService dataService)
 {
     _viewModelCreatorService = viewModelCreatorService;
     _dataService             = dataService;
 }
コード例 #5
0
        public ShellViewModel(
            IViewModelCreatorService viewModelCreatorService)
        {
            _viewModelCreatorService = viewModelCreatorService;

            EventHandler strongHandler = OnLoggedInSuccessfully;

            LoginViewModel.LoggedInSuccessfully += WeakDelegate.From(strongHandler);
        }
コード例 #6
0
 public WarehouseItemContainerViewModel(
     IWarehouseItem model,
     IViewModelCreatorService viewModelCreatorService,
     IDataService dataService) :
     base(model)
 {
     _model = model;
     _viewModelCreatorService = viewModelCreatorService;
     _dataService             = dataService;
 }
コード例 #7
0
        public MainViewModel(
            IViewModelCreatorService viewModelCreatorService,
            IDataService dataService,
            IWindowManager windowManager)
        {
            _viewModelCreatorService = viewModelCreatorService;
            _dataService             = dataService;
            _windowManager           = windowManager;

            NewWarehouseItem();
        }
コード例 #8
0
ファイル: ShellViewModel.cs プロジェクト: LogoFX/cli-dotnet
 public ShellViewModel(IViewModelCreatorService viewModelCreatorService)
 {
     _viewModelCreatorService = viewModelCreatorService;
 }