示例#1
0
 public StackItem(
     ObjectReaderWriter.ObjectReaderWriter writer,
     TypeModel typeModel, PropertyField field = null)
 {
     Writer    = writer ?? throw new ArgumentNullException(nameof(writer));
     TypeModel = typeModel ?? throw new ArgumentNullException(nameof(typeModel));
     Field     = field;
 }
示例#2
0
 public ObjectStackItem(
     ObjectReaderWriter.ObjectReaderWriter reader, object @object,
     TypeModel typeModel)
 {
     Reader    = reader ?? throw new ArgumentNullException(nameof(reader));
     Object    = @object;
     TypeModel = typeModel ?? throw new ArgumentNullException(nameof(typeModel));
 }
示例#3
0
 public EnumerableStackItem(
     ObjectReaderWriter.ObjectReaderWriter writer, TypeModel typeModel,
     PropertyField field) : base(writer, typeModel, field)
 {
 }
示例#4
0
 public EnumeratorStackItem(ObjectReaderWriter.ObjectReaderWriter reader, TypeModel typeModel, IEnumerator enumerator) :
     base(reader, typeModel)
 {
     _enumerator = enumerator;
 }