Example #1
0
 public override void  Abort()
 {
     if (doc != null)
     {
         doc.Abort();
         doc = null;
     }
 }
		public override void  Abort()
		{
			if (doc != null)
			{
				doc.Abort();
				doc = null;
			}
		}
Example #3
0
 public override DocumentsWriter.DocWriter FinishDocument()
 {
     try
     {
         return(doc);
     }
     finally
     {
         doc = null;
     }
 }
		public override DocumentsWriter.DocWriter FinishDocument()
		{
			try
			{
				return doc;
			}
			finally
			{
				doc = null;
			}
		}