Ejemplo n.º 1
0
 public FlowViewModel(IAppSettings settings,
                      IFlowdockContext context,
                      IProgressService progressService,
                      INavigationManager navigationManager,
                      IFlowStreamingConnection streamingConnection,
                      IMessageService messageService)
 {
     _settings            = settings.ThrowIfNull("settings");
     _context             = context.ThrowIfNull("context");
     _progressService     = progressService.ThrowIfNull("progressService");
     _navigationManager   = navigationManager.ThrowIfNull("navigationManager");
     _streamingConnection = streamingConnection.ThrowIfNull("streamingConnection");
     _messageService      = messageService.ThrowIfNull("messageService");
 }
Ejemplo n.º 2
0
		public FlowViewModel(IAppSettings settings, 
            IFlowdockContext context, 
            IProgressService progressService, 
            INavigationManager navigationManager, 
            IFlowStreamingConnection streamingConnection, 
            IMessageService messageService) {

			_settings = settings.ThrowIfNull("settings");
			_context = context.ThrowIfNull("context");
			_progressService = progressService.ThrowIfNull("progressService");
			_navigationManager = navigationManager.ThrowIfNull("navigationManager");
            _streamingConnection = streamingConnection.ThrowIfNull("streamingConnection");
            _messageService = messageService.ThrowIfNull("messageService");
		}