Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeParser"/> class.
 /// </summary>
 /// <param name="spResult">The symbol parse result.</param>
 internal TypeParser(ref SymbolParseResult spResult)
 {
     this.spResult = spResult;
 }
Exemple #2
0
        /// <summary>
        /// 解析字符串为类型
        /// </summary>
        /// <returns>读取的类型</returns>
        public Type Resolve(string typeString)
        {
            spResult = SymbolParser.Build(typeString);

            return(ReadType());
        }