public void Load(Stream stream) { YamlConfigurationFileParser parser = new YamlConfigurationFileParser(); try { Data = parser.Parse(stream); } catch (InvalidCastException e) { throw new FormatException("FormatError_YAMLarseError", e); } }
public void Load(Stream stream) { YamlConfigurationFileParser parser = new YamlConfigurationFileParser(); try { Data = parser.Parse(stream); } catch (InvalidCastException e) { throw new FormatException("FormatError_YAMLarseError", e); } }