コード例 #1
2
 private RunContext(ApplicationContext applicationContext, string action, ReleasesConfig releasesConfig, FeatureConfigCollection featuresConfig, TaskDefinitionConfigCollection taskDefinitionsConfig, TaskManager taskManager, ReleaseConfig activeRelease, EnvironmentConfig activeEnvironment, bool dryRun)
 {
     mApplicationContext = applicationContext;
     mAction = action;
     mReleasesConfig = releasesConfig;
     mFeaturesConfig = featuresConfig;
     mTaskDefinitionsConfig = taskDefinitionsConfig;
     mTaskManager = taskManager;
     mActiveRelease = activeRelease;
     mActiveEnvironment = activeEnvironment;
     mDryRun = dryRun;
 }
コード例 #2
0
 private static ExecutionNode BuildReleaseNode(RunContext context, ReleaseConfig release)
 {
     var node = new ExecutionNode(string.Format("Begin release {0}", release.Name), string.Format("End release {0}", release.Name));
     foreach (var feature in release.Features)
     {
         node.AddChild(BuildFeatureNode(context, feature));
     }
     return node;
 }