public WriterImpl(XmlWriter writer, IServiceProvider baseServiceProvider, bool writeElementHeader, bool autoCloseWriter) : base(null) { _xmlWriter = writer; _serviceContainer = new SimpleServiceContainer(baseServiceProvider); if (writeElementHeader) { Xml.WriteStartElement("CK-Structured"); Xml.WriteAttributeString("version", "2.5.5"); _mustEndElement = true; } _mustCloseWriter = autoCloseWriter; Current = this; }
public WriterImpl( XmlWriter writer, IServiceProvider baseServiceProvider, bool writeElementHeader, bool autoCloseWriter ) : base(null) { _xmlWriter = writer; _serviceContainer = new SimpleServiceContainer( baseServiceProvider ); if( writeElementHeader ) { Xml.WriteStartElement( "CK-Structured" ); Xml.WriteAttributeString( "version", "2.5.5" ); _mustEndElement = true; } _mustCloseWriter = autoCloseWriter; Current = this; }
internal WriterImplSub( WriterImpl rootWriter, WriterBase parent ) : base(rootWriter) { Parent = parent; Root.Current = this; }
internal WriterImplSub(WriterImpl rootWriter, WriterBase parent) : base(rootWriter) { Parent = parent; Root.Current = this; }