public void Load(ITeamExplorerIntegrator te, IPlanCatalog branchPlanCatalog, IActionExecutionEngine engine)
 {
     this.teamExplorer = te;
     this.planCatalog = branchPlanCatalog;
     this.SelectedBranchPlan = this.BranchPlans.First();
     this.actionEngine = engine;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the BranchPlanBaseCommand class. For test purpose - to be able to inject a fake IActionExecutionEngine
 /// </summary>
 /// <param name="iacEngine">injected ActionExecutionEngine</param>
 public BranchPlanBaseCommand(IActionExecutionEngine iacEngine, IPlanCatalog fakeplan)
 {
     this.actionExecutionEngine = iacEngine;
     this.planCatalog = fakeplan;
     this.validOperations = this.GetValidOperations();
 }