当前位置: 首页>>代码示例>>C#>>正文


C# IProjectManager类代码示例

本文整理汇总了C#中IProjectManager的典型用法代码示例。如果您正苦于以下问题:C# IProjectManager类的具体用法?C# IProjectManager怎么用?C# IProjectManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IProjectManager类属于命名空间,在下文中一共展示了IProjectManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: NewProjectViewmodel

 public NewProjectViewmodel(IShellService shellService, IProjectManager projectManager, IRuleManager ruleManager)
     : base(shellService)
 {
     _projectManager = projectManager;
     _ruleManager = ruleManager;
     Init();
 }
开发者ID:paytonli2013,项目名称:SolutionTool,代码行数:7,代码来源:NewProjectViewmodel.cs

示例2: CompileOrderViewer

 public CompileOrderViewer(IProjectManager project)
 {
     this.project = project;
     InitializeComponent();
     refresh_file_list();
     var service = (ProjectManager)GetService(typeof(ProjectManager));
 }
开发者ID:jijo-paulose,项目名称:bistro-framework,代码行数:7,代码来源:Viewer.cs

示例3: Open

 public void Open(IProjectManager projectManager)
 {
     foreach (ValueMatrixShort @short in this.m_ValueMatrixShorts)
     {
         @short.Open(projectManager);
     }
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:7,代码来源:ValueMatrixShortCollection.cs

示例4: Open

 public void Open(IProjectManager projectManager)
 {
     foreach (ValueMatrixInt num in this.m_ValueMatrixInts)
     {
         num.Open(projectManager);
     }
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:7,代码来源:ValueMatrixIntCollection.cs

示例5: ValidateEnvironmentService

		public ValidateEnvironmentService(IDeployRequestManager deployRequestManager, IBuildManager buildManager, IProjectManager projectManager, IDeploymentValidator validator)
		{
			_deployRequestManager = DIHelper.VerifyParameter(deployRequestManager);
			_buildManager = DIHelper.VerifyParameter(buildManager);
			_projectManager = DIHelper.VerifyParameter(projectManager);
			_validator = DIHelper.VerifyParameter(validator);
		}
开发者ID:gsbastian,项目名称:Sriracha.Deploy,代码行数:7,代码来源:ValidateEnvironmentService.cs

示例6: MyTestInitialize

        public void MyTestInitialize()
        {
            m_Name = "DLDCHRSCP";
            m_Group = MockGroupAndCell.MockTDPredicGroup();
            m_Cell = MockGroupAndCell.CreateTDCell();
            m_transList = new List<Transceiver>();
            m_Transceiver = new Transceiver();
            m_tfMatrix = new TrueFalseMatrix(4, 4, 0.0, 200, 50, true);
            m_index = 0;
            LinkLossAssist.Init();
            m_Case = new DLDCHSINRCase();
            m_projectMgr = ServiceHelper.Lookup<IProjectManager>(ProjectSingleton.CurrentProject.AppContext);
            GenerateMatrix();
            
            m_BestServerIDMatrix[m_index] = (short)(m_Cell.ID);
            m_Case.Name = m_Name;
            m_CellList = new List<IACell>();
            m_Context = new Context();
            m_CellList.Add(m_Cell);
            //GenerateCellList();
            m_Transceiver.Cells = m_CellList;
            m_transList.Add(m_Transceiver);
            AddToContext();

        }
开发者ID:xiaoyj,项目名称:Space,代码行数:25,代码来源:DLDCHSINRTest.cs

示例7: IssuesController

 public IssuesController(IRepositary repositary, IIssueManager issueManager, IProjectManager projectManager, IUserSessionHelper userSessionHelper, ICommentManager commentManager) : base(repositary)
 {
     this.issueManager = issueManager;
     this.projectManager = projectManager;
     this.userSessionHelper = userSessionHelper;
     this.commentManager = commentManager;
 }
开发者ID:raviprajapat,项目名称:ProjectPlanningTool,代码行数:7,代码来源:IssuesController.cs

示例8: Operation

        public Operation(
            PackageOperation operation, 
            IProjectManager projectManager,
            IPackageManager packageManager)
            : base(operation.Package, operation.Action)
        {
            if (projectManager != null && packageManager != null)
            {
                throw new ArgumentException("Only one of packageManager and projectManager can be non-null");
            }

            if (operation.Target == PackageOperationTarget.PackagesFolder && packageManager == null)
            {
                throw new ArgumentNullException("packageManager");
            }

            if (operation.Target == PackageOperationTarget.Project && projectManager == null)
            {
                throw new ArgumentNullException("projectManager");
            }

            Target = operation.Target;
            PackageManager = packageManager;
            ProjectManager = projectManager;
            if (ProjectManager != null)
            {
                _projectName = ProjectManager.Project.ProjectName;
            }
        }
开发者ID:rikoe,项目名称:nuget,代码行数:29,代码来源:RealPackageOperation.cs

示例9: PackagesProviderBase

        protected PackagesProviderBase(
            Project project,
            IProjectManager projectManager,
            ResourceDictionary resources,
            ProviderServices providerServices,
            IProgressProvider progressProvider)
        {
            if (projectManager == null) {
                throw new ArgumentNullException("projectManager");
            }

            if (project == null) {
                throw new ArgumentNullException("project");
            }

            if (resources == null) {
                throw new ArgumentNullException("resources");
            }

            if (providerServices == null) {
                throw new ArgumentNullException("providerServices");
            }

            _progressProvider = progressProvider;
            _resources = resources;
            _scriptExecutor = providerServices.ScriptExecutor;
            _progressWindowOpener = providerServices.ProgressWindow;
            _outputConsole = new Lazy<IConsole>(() => providerServices.OutputConsoleProvider.CreateOutputConsole(requirePowerShellHost: false));
            ProjectManager = projectManager;
            _project = project;
        }
开发者ID:jacksonh,项目名称:nuget,代码行数:31,代码来源:PackagesProviderBase.cs

示例10: ProjectWatcherBase

        protected ProjectWatcherBase(IProjectManager projectManager)
        {
            Argument.IsNotNull(() => projectManager);

            _projectManager = projectManager;

            InitSubscriptions();
        }
开发者ID:WildGums,项目名称:Orc.ProjectManagement,代码行数:8,代码来源:ProjectWatcherBase.cs

示例11: DashboardController

        public DashboardController(IUserAuthHelper userSessionHelper, IIssueManager issueManager,
            IProjectManager projectManager, ITeamManager teamManager)
        {
            this._userSessionHelper = userSessionHelper;
            this._issueManager = issueManager;
            this._projectManager = projectManager;
            this._teamManager = teamManager;

        }
开发者ID:kshyju,项目名称:ProjectPlanningTool,代码行数:9,代码来源:DashboardController.cs

示例12: ActivationHistoryProjectWatcher

        public ActivationHistoryProjectWatcher(IProjectManager projectManager, IProjectActivationHistoryService projectActivationHistoryService)
            : base(projectManager)
        {
            Argument.IsNotNull(() => projectActivationHistoryService);

            _projectActivationHistoryService = projectActivationHistoryService;

            _projectActivationHistoryService.SetProjectsSource(ProjectManager.Projects);
        }
开发者ID:WildGums,项目名称:Orc.ProjectManagement,代码行数:9,代码来源:ActivationHistoryProjectWatcher.cs

示例13: CalculateEngine

 public CalculateEngine(IApplicationContext appContext)
 {
     this.m_AppContext = appContext;
     this.m_ProjectMgr = ServiceHelper.Lookup<IProjectManager>(appContext);
     this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(appContext);
     this.m_StyleCreater = new StyleOfSpecialStudyCreater(appContext);
     this.m_LockHandle = new object();
     this.InitialStudyWeight();
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:9,代码来源:CalculateEngine.cs

示例14: AddOperation

 public void AddOperation(NuGet.PackageAction operationType, IPackage package, IProjectManager projectManager)
 {
     _operations.Add(new Operation()
     {
         OperationType = operationType,
         Package = package,
         ProjectManager = projectManager
     });
 }
开发者ID:sistoimenov,项目名称:NuGet2,代码行数:9,代码来源:ActionResolver.cs

示例15: Control

 public Control()
 {
     InitializeComponent();
     projectManager = (IProjectManager)Package.GetGlobalService(typeof(SProjectManager));
     foreach (Project project in projectManager.Projects)
         CreateNodeForProject(project);
     projectManager.ProjectRemoved += new ProjectDelegate(projectManager_ProjectRemoved);
     projectManager.ProjectAdded += new ProjectDelegate(projectManager_ProjectAdded);
 }
开发者ID:jijo-paulose,项目名称:bistro-framework,代码行数:9,代码来源:Control.cs


注:本文中的IProjectManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。