public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); WindowsStreamSecurityElement element = (WindowsStreamSecurityElement)from; this.ProtectionLevel = element.ProtectionLevel; }
public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); WindowsStreamSecurityElement source = (WindowsStreamSecurityElement)from; #pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument this.ProtectionLevel = source.ProtectionLevel; }