Exemplo n.º 1
0
        internal void InitializeFrom(HttpBindingSecurity security)
        {
            if (security == null)
            {
                throw Fx.Exception.ArgumentNull("security");
            }

            SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
            this.Transport.InitializeFrom(security.Transport);
        }
Exemplo n.º 2
0
        internal void InitializeFrom(HttpBindingSecurity security)
        {
            if (security == null)
            {
                throw Fx.Exception.ArgumentNull("security");
            }

            SetPropertyValueIfNotDefaultValue(ConfigurationStrings.Mode, security.Mode);
            this.Transport.InitializeFrom(security.Transport);
        }
Exemplo n.º 3
0
        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);
            }
        }
Exemplo n.º 4
0
        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);
            }
        }