本文整理汇总了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();
}
示例2: CompileOrderViewer
public CompileOrderViewer(IProjectManager project)
{
this.project = project;
InitializeComponent();
refresh_file_list();
var service = (ProjectManager)GetService(typeof(ProjectManager));
}
示例3: Open
public void Open(IProjectManager projectManager)
{
foreach (ValueMatrixShort @short in this.m_ValueMatrixShorts)
{
@short.Open(projectManager);
}
}
示例4: Open
public void Open(IProjectManager projectManager)
{
foreach (ValueMatrixInt num in this.m_ValueMatrixInts)
{
num.Open(projectManager);
}
}
示例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);
}
示例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();
}
示例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;
}
示例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;
}
}
示例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;
}
示例10: ProjectWatcherBase
protected ProjectWatcherBase(IProjectManager projectManager)
{
Argument.IsNotNull(() => projectManager);
_projectManager = projectManager;
InitSubscriptions();
}
示例11: DashboardController
public DashboardController(IUserAuthHelper userSessionHelper, IIssueManager issueManager,
IProjectManager projectManager, ITeamManager teamManager)
{
this._userSessionHelper = userSessionHelper;
this._issueManager = issueManager;
this._projectManager = projectManager;
this._teamManager = teamManager;
}
示例12: ActivationHistoryProjectWatcher
public ActivationHistoryProjectWatcher(IProjectManager projectManager, IProjectActivationHistoryService projectActivationHistoryService)
: base(projectManager)
{
Argument.IsNotNull(() => projectActivationHistoryService);
_projectActivationHistoryService = projectActivationHistoryService;
_projectActivationHistoryService.SetProjectsSource(ProjectManager.Projects);
}
示例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();
}
示例14: AddOperation
public void AddOperation(NuGet.PackageAction operationType, IPackage package, IProjectManager projectManager)
{
_operations.Add(new Operation()
{
OperationType = operationType,
Package = package,
ProjectManager = projectManager
});
}
示例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);
}