Beispiel #1
0
        public CurrentMonthBurnDownGraphsController(
            [NotNull] AddUserDefinedBurnDownController addUserDefinedBurnDownController,
            [NotNull] UiContext uiContext,
            [NotNull] IBurnDownChartsService chartsService)
        {
            if (addUserDefinedBurnDownController == null)
            {
                throw new ArgumentNullException(nameof(addUserDefinedBurnDownController));
            }

            if (uiContext == null)
            {
                throw new ArgumentNullException(nameof(uiContext));
            }

            if (chartsService == null)
            {
                throw new ArgumentNullException(nameof(chartsService));
            }

            this.addUserDefinedBurnDownController = addUserDefinedBurnDownController;
            this.chartsService = chartsService;

            MessengerInstance = uiContext.Messenger;
            MessengerInstance.Register <ApplicationStateRequestedMessage>(this, OnApplicationStateRequested);
            MessengerInstance.Register <ApplicationStateLoadedMessage>(this, OnApplicationStateLoaded);
        }
        public CurrentMonthBurnDownGraphsController(
            [NotNull] AddUserDefinedBurnDownController addUserDefinedBurnDownController,
            [NotNull] UiContext uiContext,
            [NotNull] IBurnDownChartsService chartsService)
        {
            if (addUserDefinedBurnDownController == null)
            {
                throw new ArgumentNullException(nameof(addUserDefinedBurnDownController));
            }

            if (uiContext == null)
            {
                throw new ArgumentNullException(nameof(uiContext));
            }

            if (chartsService == null)
            {
                throw new ArgumentNullException(nameof(chartsService));
            }

            this.addUserDefinedBurnDownController = addUserDefinedBurnDownController;
            this.chartsService = chartsService;

            MessengerInstance = uiContext.Messenger;
            MessengerInstance.Register<ApplicationStateRequestedMessage>(this, OnApplicationStateRequested);
            MessengerInstance.Register<ApplicationStateLoadedMessage>(this, OnApplicationStateLoaded);
        }
        public AddUserDefinedBurnDownController(
            [NotNull] AddUserDefinedBurnDownDialogViewLoader viewLoader,
            [NotNull] IBurnDownChartsService chartsService)
        {
            if (viewLoader == null)
            {
                throw new ArgumentNullException(nameof(viewLoader));
            }

            if (chartsService == null)
            {
                throw new ArgumentNullException(nameof(chartsService));
            }

            this.viewLoader    = viewLoader;
            this.chartsService = chartsService;
        }
        public AddUserDefinedBurnDownController(
            [NotNull] AddUserDefinedBurnDownDialogViewLoader viewLoader,
            [NotNull] IBurnDownChartsService chartsService)
        {
            if (viewLoader == null)
            {
                throw new ArgumentNullException(nameof(viewLoader));
            }

            if (chartsService == null)
            {
                throw new ArgumentNullException(nameof(chartsService));
            }

            this.viewLoader = viewLoader;
            this.chartsService = chartsService;
        }