예제 #1
0
 protected XmlSyndicationContent(XmlSyndicationContent source) : base(source)
 {
     Debug.Assert(source != null, "The base constructor already checks if source is valid.");
     _contentBuffer = source._contentBuffer;
     Extension      = source.Extension;
     _type          = source._type;
 }
예제 #2
0
 protected XmlSyndicationContent(XmlSyndicationContent source)
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     type      = source.type;
     extension = source.extension;
 }
 protected XmlSyndicationContent(XmlSyndicationContent source) : base(source)
 {
     if (source == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("source");
     }
     this.contentBuffer = source.contentBuffer;
     this.extension     = source.extension;
     this.type          = source.type;
 }
예제 #4
0
 protected XmlSyndicationContent(XmlSyndicationContent source)
     : base(source)
 {
     if (source == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(source));
     }
     _contentBuffer = source._contentBuffer;
     _extension     = source._extension;
     _type          = source._type;
 }
예제 #5
0
 protected XmlSyndicationContent(XmlSyndicationContent source)
     : base(source)
 {
     if (source == null)
     {
         throw new ArgumentNullException(nameof(source));
     }
     _contentBuffer = source._contentBuffer;
     _extension     = source._extension;
     _type          = source._type;
 }