public IonSystemLite(IonTextWriterBuilder textWriterBuilder, PrivateIonBinaryWriterBuilder binaryWriterBuilder, IonReaderBuilder readerBuilder) { _readerBuilder = readerBuilder; var catalog = textWriterBuilder.Catalog; //make sure we're on the same catalog here Debug.Assert(catalog == binaryWriterBuilder.Catalog); Debug.Assert(catalog == readerBuilder.Catalog); Context = new ContainerlessContext(this); Catalog = catalog; _systemSymbolTable = binaryWriterBuilder.InitialSymbolTable; Debug.Assert(_systemSymbolTable.IsSystem); binaryWriterBuilder.SymtabValueFactory = this; _textWriterBuilder = textWriterBuilder.Immutable(); _binaryWriterBuilder = binaryWriterBuilder.Immutable(); }
/// <summary> /// Mostly for testing /// </summary> internal IonSystemLite(ContainerlessContext ctx) { Context = ctx; }
public IonIntLite(ContainerlessContext containerlessContext, bool isNull) : base(containerlessContext, isNull) { }
public IonDatagramLite(ContainerlessContext containerlessContext, bool isNull) : base(containerlessContext, isNull) { }
protected IonContainerLite(ContainerlessContext containerlessContext, bool isNull) : base(containerlessContext, isNull) { }