AcTools.Utils.Helpers.JsonDeserializationExtension.MatchNext C# (CSharp) 메소드

MatchNext() 공개 정적인 메소드

public static MatchNext ( this reader, JsonToken token ) : void
reader this
token JsonToken
리턴 void
        public static void MatchNext(this JsonTextReader reader, JsonToken token) {
            if (!reader.Read() || reader.TokenType != token) {
                throw new Exception(token + " expected");
            }
        }