コード例 #1
0
        public WidgetListViewModel(
            IWidgetManagerService widgetManagerService,
            ICollectectionCreatorService collectionService,
            INotificationService notificationService)
        {
            _widgetManagerService = widgetManagerService;
            _collectionService    = collectionService;
            _notificationService  = notificationService;

            InitCommands();
        }
コード例 #2
0
        public DisplayViewModel(
            INavigationService navigationService,
            INotificationService notificationService,
            IWidgetService widgetService,
            ICollectectionCreatorService collectionService)
        {
            _navigationService   = navigationService;
            _notificationService = notificationService;
            _widgetService       = widgetService;
            _collectionService   = collectionService;

            InitCommands();
        }