コード例 #1
0
        /// <summary>
        /// Parses the file at the specified path.
        /// </summary>
        /// <param name="path">The path.</param>
        /// <returns></returns>
        public IEnumerable <XlmodTerm> Parse(string path)
        {
            var oboParser = new OboParser();

            return(oboParser.Parse(path).Select(term => this.ConvertToModification(term)));
        }
コード例 #2
0
        /// <summary>
        /// Parses the specified path.
        /// </summary>
        /// <param name="path">The path.</param>
        /// <returns></returns>
        public IEnumerable <UnimodModification> Parse(string path)
        {
            var oboParser = new OboParser();

            return(this.ConvertToModifications(oboParser.Parse(path)));
        }