예제 #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));
        }
예제 #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));
        }