protected XmlSyndicationContent(XmlSyndicationContent source)
     : base(source)
 {
     if (source == null)
     {
         throw new ArgumentNullException(nameof(source));
     }
     _contentBuffer = source._contentBuffer;
     _extension     = source._extension;
     _type          = source._type;
 }
 public XmlSyndicationContent(string type, object xmlSerializerExtension, XmlSerializer serializer)
 {
     _type      = string.IsNullOrEmpty(type) ? Atom10Constants.XmlMediaType : type;
     _extension = new SyndicationElementExtension(xmlSerializerExtension, serializer);
 }
 public XmlSyndicationContent(string type, object dataContractExtension, XmlObjectSerializer dataContractSerializer)
 {
     _type      = string.IsNullOrEmpty(type) ? Atom10Constants.XmlMediaType : type;
     _extension = new SyndicationElementExtension(dataContractExtension, dataContractSerializer);
 }