Exemplo n.º 1
0
 internal void Copy(AddressHeaderCollectionElement source)
 {
     if (source == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("source");
     }
     if (source.ElementInformation.Properties["headers"].ValueOrigin != PropertyValueOrigin.Default)
     {
         this.Headers = source.Headers;
     }
 }
 internal void Copy(AddressHeaderCollectionElement source)
 {
     if (source == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("source");
     }
     if (source.ElementInformation.Properties["headers"].ValueOrigin != PropertyValueOrigin.Default)
     {
         this.Headers = source.Headers;
     }
 }