public LocalOperations( string machineId, ILauncherFactory launcherFactory, IAppInitializedDetectorFactory appAppInitializedDetectorFactory, string rootForRelativePaths) { this.launcherFactory = launcherFactory; this.appAppInitializedDetectorFactory = appAppInitializedDetectorFactory; this.rootForRelativePaths = rootForRelativePaths; appsState = new Dictionary <AppIdTuple, AppState>(); localApps = new Dictionary <AppIdTuple, LocalApp>(); currentPlan = null; planRepo = new List <ILaunchPlan>(); this.machineId = machineId; }
public LocalOperations( string machineId, ILauncherFactory launcherFactory, IAppInitializedDetectorFactory appAppInitializedDetectorFactory ) { this.launcherFactory = launcherFactory; this.appAppInitializedDetectorFactory = appAppInitializedDetectorFactory; appsState = new Dictionary<AppIdTuple,AppState>(); localApps = new Dictionary<AppIdTuple,LocalApp>(); currentPlan = null; planRepo = new List<ILaunchPlan>(); this.machineId = machineId; launchSequencer = new LaunchSequencer(); }
public CommandManager(ILauncherFactory factory, IPrinter printResult) { this.Factory = factory; this.PrintResult = printResult; }