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; }
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)); }
public EnumerableStackItem( ObjectReaderWriter.ObjectReaderWriter writer, TypeModel typeModel, PropertyField field) : base(writer, typeModel, field) { }
public EnumeratorStackItem(ObjectReaderWriter.ObjectReaderWriter reader, TypeModel typeModel, IEnumerator enumerator) : base(reader, typeModel) { _enumerator = enumerator; }