private static void ReadConfigFile() { var xmlSerializer = new XmlSerializer(typeof (DeploymentConfiguration)); _deploymentConfiguration = (DeploymentConfiguration) xmlSerializer.Deserialize(new StreamReader(CONFIG_FILE, false)); }
public ParallelDeployment(DeploymentConfiguration deploymentConfiguration) { _deploymentConfiguration = deploymentConfiguration; }
private static void CreateConfigFile() { var xmlSerializer = new XmlSerializer(typeof(DeploymentConfiguration)); var emptyConfig = new DeploymentConfiguration(); xmlSerializer.Serialize(new StreamWriter(CONFIG_FILE, false), emptyConfig); }