コード例 #1
0
ファイル: PmReleasesHandler.cs プロジェクト: wyb314/Projeny
 public PmReleasesHandler(
     PmModel model,
     PrjCommandHandler prjCommandHandler)
 {
     _prjCommandHandler = prjCommandHandler;
     _model             = model;
 }
コード例 #2
0
 public PmReleasesHandler(
     PmModel model,
     PrjCommandHandler prjCommandHandler)
 {
     _prjCommandHandler = prjCommandHandler;
     _model = model;
 }
コード例 #3
0
 public PmProjectHandler(
     PmModel model,
     PmView view)
 {
     _view  = view;
     _model = model;
 }
コード例 #4
0
ファイル: PmProjectHandler.cs プロジェクト: Phrohdoh/Projeny
 public PmProjectHandler(
     PmModel model,
     PmView view)
 {
     _view = view;
     _model = model;
 }
コード例 #5
0
ファイル: PmModelViewSyncer.cs プロジェクト: Phrohdoh/Projeny
 public PmModelViewSyncer(
     PmModel model, PmView view,
     PmSettings pmSettings)
 {
     _pmSettings = pmSettings;
     _model = model;
     _view = view;
 }
コード例 #6
0
 public PmModelViewSyncer(
     PmModel model, PmView view,
     PmSettings pmSettings)
 {
     _pmSettings = pmSettings;
     _model      = model;
     _view       = view;
 }
コード例 #7
0
ファイル: PmPackageHandler.cs プロジェクト: Phrohdoh/Projeny
 public PmPackageHandler(
     PmModel model,
     PrjCommandHandler prjCommandHandler,
     PmView view)
 {
     _view = view;
     _prjCommandHandler = prjCommandHandler;
     _model = model;
 }
コード例 #8
0
ファイル: PmPackageHandler.cs プロジェクト: wyb314/Projeny
 public PmPackageHandler(
     PmModel model,
     PrjCommandHandler prjCommandHandler,
     PmView view)
 {
     _view = view;
     _prjCommandHandler = prjCommandHandler;
     _model             = model;
 }
コード例 #9
0
ファイル: PmInputHandler.cs プロジェクト: Cyberbanan/Projeny
 public PmInputHandler(
     PmView view,
     PmModel model,
     PmPackageHandler packageHandler,
     AsyncProcessor asyncProcessor)
 {
     _asyncProcessor = asyncProcessor;
     _packageHandler = packageHandler;
     _model = model;
     _view = view;
 }
コード例 #10
0
ファイル: PmInputHandler.cs プロジェクト: wyb314/Projeny
 public PmInputHandler(
     PmView view,
     PmModel model,
     PmPackageHandler packageHandler,
     AsyncProcessor asyncProcessor)
 {
     _asyncProcessor = asyncProcessor;
     _packageHandler = packageHandler;
     _model          = model;
     _view           = view;
 }
コード例 #11
0
 public PmVsSolutionViewHandler(
     PmModel model,
     PmView view,
     AsyncProcessor asyncProcessor,
     PrjCommandHandler prjCommandHandler,
     PmProjectHandler projectHandler)
 {
     _projectHandler    = projectHandler;
     _prjCommandHandler = prjCommandHandler;
     _asyncProcessor    = asyncProcessor;
     _model             = model;
     _view = view;
 }
コード例 #12
0
 public PmDragDropHandler(
     PmModel model,
     PmView view,
     AsyncProcessor asyncProcessor,
     PmPackageHandler packageHandler,
     PrjCommandHandler prjCommandHandler)
 {
     _prjCommandHandler = prjCommandHandler;
     _packageHandler = packageHandler;
     _asyncProcessor = asyncProcessor;
     _view = view;
     _model = model;
 }
コード例 #13
0
ファイル: PmDragDropHandler.cs プロジェクト: wyb314/Projeny
 public PmDragDropHandler(
     PmModel model,
     PmView view,
     AsyncProcessor asyncProcessor,
     PmPackageHandler packageHandler,
     PrjCommandHandler prjCommandHandler)
 {
     _prjCommandHandler = prjCommandHandler;
     _packageHandler    = packageHandler;
     _asyncProcessor    = asyncProcessor;
     _view  = view;
     _model = model;
 }
コード例 #14
0
 public PmVsSolutionViewHandler(
     PmModel model,
     PmView view,
     AsyncProcessor asyncProcessor,
     PrjCommandHandler prjCommandHandler,
     PmProjectHandler projectHandler)
 {
     _projectHandler = projectHandler;
     _prjCommandHandler = prjCommandHandler;
     _asyncProcessor = asyncProcessor;
     _model = model;
     _view = view;
 }
コード例 #15
0
 public PmPackageViewHandler(
     PmView view,
     AsyncProcessor asyncProcessor,
     PmPackageHandler packageHandler,
     PrjCommandHandler prjCommandHandler,
     PmSettings pmSettings,
     PmModel model)
 {
     _model             = model;
     _pmSettings        = pmSettings;
     _prjCommandHandler = prjCommandHandler;
     _packageHandler    = packageHandler;
     _asyncProcessor    = asyncProcessor;
     _view = view;
 }
コード例 #16
0
 public PmProjectViewHandler(
     PmModel model,
     PmView view,
     PmProjectHandler projectHandler,
     AsyncProcessor asyncProcessor,
     PrjCommandHandler prjCommandHandler,
     PmViewErrorHandler errorHandler)
 {
     _errorHandler      = errorHandler;
     _prjCommandHandler = prjCommandHandler;
     _asyncProcessor    = asyncProcessor;
     _model             = model;
     _view           = view;
     _projectHandler = projectHandler;
 }
コード例 #17
0
 public PmPackageViewHandler(
     PmView view,
     AsyncProcessor asyncProcessor,
     PmPackageHandler packageHandler,
     PrjCommandHandler prjCommandHandler,
     PmSettings pmSettings,
     PmModel model)
 {
     _model = model;
     _pmSettings = pmSettings;
     _prjCommandHandler = prjCommandHandler;
     _packageHandler = packageHandler;
     _asyncProcessor = asyncProcessor;
     _view = view;
 }
コード例 #18
0
 public PmProjectViewHandler(
     PmModel model,
     PmView view,
     PmProjectHandler projectHandler,
     AsyncProcessor asyncProcessor,
     PrjCommandHandler prjCommandHandler,
     PmViewErrorHandler errorHandler)
 {
     _errorHandler = errorHandler;
     _prjCommandHandler = prjCommandHandler;
     _asyncProcessor = asyncProcessor;
     _model = model;
     _view = view;
     _projectHandler = projectHandler;
 }
コード例 #19
0
 public PmReleasesViewHandler(
     PmModel model,
     PmView view,
     AsyncProcessor asyncProcessor,
     PmReleasesHandler releasesHandler,
     PmPackageHandler packageHandler,
     PrjCommandHandler prjCommandHandler,
     PmSettings pmSettings)
 {
     _pmSettings = pmSettings;
     _prjCommandHandler = prjCommandHandler;
     _packageHandler = packageHandler;
     _releasesHandler = releasesHandler;
     _asyncProcessor = asyncProcessor;
     _view = view;
     _model = model;
 }
コード例 #20
0
 public PmReleasesViewHandler(
     PmModel model,
     PmView view,
     AsyncProcessor asyncProcessor,
     PmReleasesHandler releasesHandler,
     PmPackageHandler packageHandler,
     PrjCommandHandler prjCommandHandler,
     PmSettings pmSettings)
 {
     _pmSettings        = pmSettings;
     _prjCommandHandler = prjCommandHandler;
     _packageHandler    = packageHandler;
     _releasesHandler   = releasesHandler;
     _asyncProcessor    = asyncProcessor;
     _view  = view;
     _model = model;
 }
コード例 #21
0
        void Initialize()
        {
            bool isFirstLoad = false;

            if (!_hasInitialized)
            {
                isFirstLoad = true;

                _model     = new PmModel();
                _viewModel = new PmView.Model();

                for (int i = 0; i < (int)DragListTypes.Count; i++)
                {
                    _viewModel.ListModels.Add(new DragList.Model());
                }
            }

            _root = new PmCompositionRoot(_model, _viewModel, isFirstLoad);
            _root.Initialize();

            // Put the _hasInitialized here so that if it fails to initialize it will try again next assembly reload
            // Otherwise it might serialize half-initialized data
            _hasInitialized = true;
        }
コード例 #22
0
        void OnEnable()
        {
            bool isFirstLoad = false;

            if (!_hasInitialized)
            {
                _hasInitialized = true;
                isFirstLoad     = true;

                Assert.IsNull(_model);
                Assert.IsNull(_viewModel);

                _model     = new PmModel();
                _viewModel = new PmView.Model();

                for (int i = 0; i < (int)DragListTypes.Count; i++)
                {
                    _viewModel.ListModels.Add(new DragList.Model());
                }
            }

            _root = new PmCompositionRoot(_model, _viewModel, isFirstLoad);
            _root.Initialize();
        }
コード例 #23
0
ファイル: PmWindow.cs プロジェクト: Phrohdoh/Projeny
        void OnEnable()
        {
            bool isFirstLoad = false;

            if (!_hasInitialized)
            {
                _hasInitialized = true;
                isFirstLoad = true;

                Assert.IsNull(_model);
                Assert.IsNull(_viewModel);

                _model = new PmModel();
                _viewModel = new PmView.Model();

                for (int i = 0; i < (int)DragListTypes.Count; i++)
                {
                    _viewModel.ListModels.Add(new DragList.Model());
                }
            }

            _root = new PmCompositionRoot(_model, _viewModel, isFirstLoad);
            _root.Initialize();
        }
コード例 #24
0
 public PmCompositionRoot(PmModel model, PmView.Model viewModel, bool isFirstLoad)
 {
     _model       = model;
     _viewModel   = viewModel;
     _isFirstLoad = isFirstLoad;
 }
コード例 #25
0
ファイル: PmCompositionRoot.cs プロジェクト: Phrohdoh/Projeny
 public PmCompositionRoot(PmModel model, PmView.Model viewModel, bool isFirstLoad)
 {
     _model = model;
     _viewModel = viewModel;
     _isFirstLoad = isFirstLoad;
 }
コード例 #26
0
ファイル: PmWindow.cs プロジェクト: Cyberbanan/Projeny
        void Initialize()
        {
            bool isFirstLoad = false;

            if (!_hasInitialized)
            {
                isFirstLoad = true;

                _model = new PmModel();
                _viewModel = new PmView.Model();

                for (int i = 0; i < (int)DragListTypes.Count; i++)
                {
                    _viewModel.ListModels.Add(new DragList.Model());
                }
            }

            _root = new PmCompositionRoot(_model, _viewModel, isFirstLoad);
            _root.Initialize();

            // Put the _hasInitialized here so that if it fails to initialize it will try again next assembly reload
            // Otherwise it might serialize half-initialized data
            _hasInitialized = true;
        }