示例#1
0
 IEnumerator IEnumerable.GetEnumerator()
 {
     foreach (var value in values)
     {
         yield return(XHelper.Create(elementType, elementCode, value));
     }
 }
示例#2
0
 IEnumerator <JsonNode> IEnumerable <JsonNode> .GetEnumerator()
 {
     foreach (T value in values)
     {
         yield return(XHelper.Create(elementType, elementCode, value));
     }
 }
示例#3
0
 public override JsonNode this[int index] =>
 XHelper.Create(elementType, elementCode, values[index]);