Exemplo n.º 1
0
        public static Ssv Load(string filePath, Notation notation = null)
        {
            var content = File.ReadAllText(filePath);
            var parser  = new SsvParser()
            {
                SsvNotation = notation
            };

            return(parser.Parse(content));
        }
Exemplo n.º 2
0
        public static Ssv Load(string filePath, string valueDelimiter)
        {
            var content  = File.ReadAllText(filePath);
            var notation = SsvParser.Default.CreateNotation();

            notation.ValueDelimiter = valueDelimiter;
            var parser = new SsvParser()
            {
                SsvNotation = notation
            };

            return(parser.Parse(content));
        }