public ShellController([NotNull] UiContext uiContext, [NotNull] IDashboardService dashboardService, IPersistApplicationState statePersistenceProvider) { if (uiContext == null) throw new ArgumentNullException(nameof(uiContext)); if (dashboardService == null) throw new ArgumentNullException(nameof(dashboardService)); this.uiContext = uiContext; this.dashboardService = dashboardService; this.statePersistence = statePersistenceProvider; // this.persistenceOperations = persistenceOperations; }
public ShellController([NotNull] UiContext uiContext, [NotNull] IDashboardService dashboardService, IPersistApplicationState statePersistenceProvider) { if (uiContext == null) { throw new ArgumentNullException(nameof(uiContext)); } if (dashboardService == null) { throw new ArgumentNullException(nameof(dashboardService)); } this.uiContext = uiContext; this.dashboardService = dashboardService; this.statePersistence = statePersistenceProvider; // this.persistenceOperations = persistenceOperations; }
private void ConstructUiContext(IContainer container) { UiContext = container.Resolve<UiContext>(); UiContext.ShellController = container.Resolve<ShellController>(); }
private void ConstructUiContext(IContainer container) { UiContext = container.Resolve <UiContext>(); UiContext.ShellController = container.Resolve <ShellController>(); }