public AtomPub10ServiceDocumentFormatter(ServiceDocument documentToWrite) : base(documentToWrite)
 {
     this.maxExtensionSize            = 0x7fffffff;
     this.preserveAttributeExtensions = true;
     this.preserveElementExtensions   = true;
     this.documentType = documentToWrite.GetType();
 }
 public AtomPub10ServiceDocumentFormatter(ServiceDocument documentToWrite)
     : base(documentToWrite)
 {
     // No need to check that the parameter passed is valid - it is checked by the c'tor of the base class
     _maxExtensionSize            = int.MaxValue;
     _preserveAttributeExtensions = true;
     _preserveElementExtensions   = true;
     _documentType = documentToWrite.GetType();
 }
 public AtomPub10ServiceDocumentFormatter(ServiceDocument documentToWrite) : base(documentToWrite)
 {
     _maxExtensionSize = int.MaxValue;
     _documentType     = documentToWrite.GetType();
 }