• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IProjectManager类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: UserAccountManager

 public UserAccountManager(IUserRepository userRepository, IUserAuthHelper userSessionHelper, IProjectManager projectManager, ITeamRepository teamRepository, IEmailManager emailManager, IEmailRepository emailRepository, IOptions<AppSettings> settings)
 {
     this.emailManager = emailManager;
     this.userRepository = userRepository;
     this.userSessionHelper = userSessionHelper;
     this.projectManager = projectManager;
     this.teamRepository = teamRepository;
     this.emailRepository = emailRepository;
     this._settings = settings.Value;
 }
开发者ID:kshyju,项目名称:ProjectPlanningTool,代码行数:10,代码来源:IUserAccountManager.cs


示例17: ProjectStateService

        public ProjectStateService(IProjectManager projectManager)
        {
            Argument.IsNotNull(() => projectManager);

            _projectManager = projectManager;

            InitSubscriptions();

            _lastActiveProject = _projectManager.ActiveProject?.Location;
        }
开发者ID:WildGums,项目名称:Orc.ProjectManagement,代码行数:10,代码来源:ProjectStateService.cs


示例18: GetDataFromContext

 /// <summary>
 /// 从Context中获取本case所需的指标
 /// </summary>
 /// <param name="context"></param>
 private void GetDataFromContext(Context context)
 {
     m_appContext = (IBaseService)context[ContextKeys.ApplicationContext];
     m_ProjectManager = ServiceHelper.Lookup<IProjectManager>(m_appContext);
     m_tFMatrix = (TrueFalseMatrix)context[ContextKeys.TFMatrix];
     m_predictionGroup = (TDPredictionGroup)context[ContextKeys.Group];
     m_procGain = TDPredictionCommonCalc.GetProcGain(m_predictionGroup);
     m_ULDCHRSCPMatrix = (ValueMatrixShort)context[ContextKeys.ULDCHRSCP];
     m_BestServerCellIDMatrix = (ValueMatrixShort)context[ContextKeys.TDBestServerCellID];
     m_cells = (List<IACell>)context[ContextKeys.CellList];  
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:15,代码来源:ULDCHSINRCase.cs


示例19: InstalledProvider

 public InstalledProvider(
     IVsPackageManager packageManager,
     Project project,
     IProjectManager projectManager,
     ResourceDictionary resources,
     ProviderServices providerServices,
     IProgressProvider progressProvider)
     : base(project, projectManager, resources, providerServices, progressProvider)
 {
     _packageManager = packageManager;
 }
开发者ID:grendello,项目名称:nuget,代码行数:11,代码来源:InstalledProvider.cs


示例20: ExportPrediction

 public ExportPrediction(ControllerMgr predictionGroupsManager, IApplicationContext appContext, TreeNode rootnode, string basicStudyName)
 {
     this.m_ControllerMgr = predictionGroupsManager;
     this.m_appContext = appContext;
     this.m_IProjectManager = ServiceHelper.Lookup<IProjectManager>(appContext);
     this.m_geoProvider = ServiceHelper.Lookup<IGeoProvider>(appContext);
     this.m_Tranceiverlist = ServiceHelper.Lookup<IPrediction>(appContext).TranceiverList;
     this.m_StatusBarService = ServiceHelper.Lookup<IStatusBarService>(appContext);
     this.m_rootnode = rootnode;
     this.m_BasicStudyName = basicStudyName;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:11,代码来源:ExportPrediction.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IProjectRepository类代码示例发布时间:2022-05-24
下一篇:
C# IProjectItem类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap