Example #1
0
 public void Dispose()
 {
     if (_root != null)
     {
         OnDispose();
         _root = null;
     }
 }
Example #2
0
 internal WriterImplSub( WriterImpl rootWriter, WriterBase parent )
     : base(rootWriter)
 {
     Parent = parent;
     Root.Current = this;
 }
Example #3
0
 protected WriterBase( WriterImpl root )
 {
     _root = root ?? (WriterImpl)this;
 }
Example #4
0
 public void Dispose()
 {
     if( _root != null )
     {
         OnDispose();
         _root = null;
     }
 }
Example #5
0
 protected WriterBase(WriterImpl root)
 {
     _root = root ?? (WriterImpl)this;
 }
Example #6
0
 internal WriterImplSub(WriterImpl rootWriter, WriterBase parent)
     : base(rootWriter)
 {
     Parent       = parent;
     Root.Current = this;
 }