Example #1
0
        public TokenReader(JsonTokenizer tokenizer)
        {
            #region Preconditions

            if (tokenizer == null) throw new ArgumentNullException(nameof(tokenizer));

            #endregion

            this.tokenizer = tokenizer;
        }
 public TokenReader(JsonTokenizer tokenizer)
 {
     this.tokenizer = tokenizer ?? throw new ArgumentNullException(nameof(tokenizer));
 }