コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: WriterImpl.cs プロジェクト: Paty-B/ck-core
 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;
 }
コード例 #3
0
ファイル: WriterImplSub.cs プロジェクト: Paty-B/ck-core
 internal WriterImplSub( WriterImpl rootWriter, WriterBase parent )
     : base(rootWriter)
 {
     Parent = parent;
     Root.Current = this;
 }
コード例 #4
0
ファイル: WriterImplSub.cs プロジェクト: Paty-B/ck-core
 internal WriterImplSub(WriterImpl rootWriter, WriterBase parent)
     : base(rootWriter)
 {
     Parent       = parent;
     Root.Current = this;
 }