public Parse ( TextReader reader ) : void | ||
reader | TextReader | The reader. |
return | void |
/// <summary> /// Loads the specified path to assembly. /// </summary> /// <param name="pathToAssembly">The path to assembly.</param> /// <returns></returns> private SpecificationConfig Load(string pathToAssembly) { var configFileName = pathToAssembly.Replace(".dll", ".config"); if (File.Exists(configFileName)) { var specificationConfigParser = new SpecificationConfigParser(this); specificationConfigParser.Parse(new StreamReader(configFileName)); } return(this); }
/// <summary> /// Loads the specified path to assembly. /// </summary> /// <param name="pathToAssembly">The path to assembly.</param> /// <returns></returns> private SpecificationConfig Load(string pathToAssembly) { var configFileName = Path.ChangeExtension(pathToAssembly, ".config"); if (File.Exists(configFileName)) { var specificationConfigParser = new SpecificationConfigParser(this); specificationConfigParser.Parse(new StreamReader(configFileName)); } return(this); }
/// <summary> /// Loads the specified path to assembly. /// </summary> /// <param name="pathToAssembly">The path to assembly.</param> /// <returns></returns> private SpecificationConfig Load(string pathToAssembly) { var configFileName = Path.ChangeExtension(pathToAssembly, ".config"); if (File.Exists(configFileName)) { var specificationConfigParser = new SpecificationConfigParser(this); specificationConfigParser.Parse(new StreamReader(configFileName)); } return this; }
/// <summary> /// Loads the specified path to assembly. /// </summary> /// <param name="pathToAssembly">The path to assembly.</param> /// <returns></returns> private SpecificationConfig Load(string pathToAssembly) { var configFileName = pathToAssembly.Replace(".dll", ".config"); if (File.Exists(configFileName)) { var specificationConfigParser = new SpecificationConfigParser(this); specificationConfigParser.Parse(new StreamReader(configFileName)); } return this; }