internal void InitializeFrom(HttpBindingSecurity security) { if (security == null) { throw Fx.Exception.ArgumentNull("security"); } SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode); this.Transport.InitializeFrom(security.Transport); }
internal void InitializeFrom(HttpBindingSecurity security) { if (security == null) { throw Fx.Exception.ArgumentNull("security"); } SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode); this.Transport.InitializeFrom(security.Transport); }
internal void ApplyConfiguration(HttpBindingSecurity security) { if (security == null) { throw Fx.Exception.ArgumentNull("security"); } if (this.ElementInformation.Properties[ConfigurationStrings.Mode].IsModified) { security.Mode = this.Mode; this.Transport.ApplyConfiguration(security.Transport); } }
internal void ApplyConfiguration(HttpBindingSecurity security) { if (security == null) { throw Fx.Exception.ArgumentNull("security"); } if (this.ElementInformation.Properties[ConfigurationStrings.Mode].IsModified) { security.Mode = this.Mode; this.Transport.ApplyConfiguration(security.Transport); } }