/// <summary>
        /// Initializes a new instance of the <see cref="SettingSecurityHeader"/> class.
        /// </summary>
        public SettingSecurityHeader(SettingStrictTransportSecurity strictTransportSecurity)
        {
            if (strictTransportSecurity == null)
                throw new ArgumentNullException(nameof(strictTransportSecurity));

            StrictTransportSecurity = strictTransportSecurity;
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SettingSecurityHeader"/> class.
        /// </summary>
        public SettingSecurityHeader(SettingStrictTransportSecurity strictTransportSecurity)
        {
            if (strictTransportSecurity == null)
            {
                throw new ArgumentNullException(nameof(strictTransportSecurity));
            }

            StrictTransportSecurity = strictTransportSecurity;
        }