Beispiel #1
0
 public override JsonNode this[int index] =>
 XHelper.Create(elementType, elementCode, values[index]);
Beispiel #2
0
 internal XList(IList <T> values)
 {
     this.values      = values ?? throw new ArgumentNullException(nameof(values));
     this.elementCode = System.Type.GetTypeCode(typeof(T));
     this.elementType = XHelper.GetElementType(this.elementCode);
 }