コード例 #1
0
 public WallViewModel(IDataService <Requirement> dataService)
     : base(dataService)
 {
     Prioritised = new SwimlaneViewModel(RequirementStatus.Prioritised);
     WIP         = new SwimlaneViewModel(RequirementStatus.WIP);
     Test        = new SwimlaneViewModel(RequirementStatus.Test);
     Done        = new SwimlaneViewModel(RequirementStatus.Done);
 }
コード例 #2
0
 public WallViewModel(IDataService <Requirement> requirementDataService)
     : base(requirementDataService)
 {
     Prioritised = new SwimlaneViewModel(requirementDataService, RequirementStatus.Prioritised);
     WIP         = new SwimlaneViewModel(requirementDataService, RequirementStatus.WIP);
     Test        = new SwimlaneViewModel(requirementDataService, RequirementStatus.Test);
     Done        = new SwimlaneViewModel(requirementDataService, RequirementStatus.Done);
     MessengerInstance.Register <ReloadRequestMessage>(this, OnReloadRequest);
 }
コード例 #3
0
ファイル: WallViewModel.cs プロジェクト: savaged/SixNations
        public WallViewModel(
            IDataService <Requirement> requirementDataService,
            IActionConfirmationService actionConfirmation)
            : base(requirementDataService, actionConfirmation)
        {
            Prioritised = new SwimlaneViewModel(requirementDataService, RequirementStatus.Prioritised);
            WIP         = new SwimlaneViewModel(requirementDataService, RequirementStatus.WIP);
            Test        = new SwimlaneViewModel(requirementDataService, RequirementStatus.Test);
            Done        = new SwimlaneViewModel(requirementDataService, RequirementStatus.Done);

            PollingService.Instance.IntervalElapsed += OnPollingIntervalElapsed;
            MessengerInstance.Register <ReloadRequestMessage>(this, OnReloadRequest);
        }