コード例 #1
0
        /// <summary>
        /// Determines the type of the key generator. Default value: Traditional.
        /// </summary>
        public ACollection KeyGeneratorType(AKeyGeneratorType value)
        {
            // needs to be in string format - set enum format explicitely to override global setting
            _parameters.Enum(ParameterName.KeyOptionsType, value.ToString().ToLower(), EnumFormat.String);

            return(this);
        }
コード例 #2
0
        /// <summary>
        /// Determines the type of the key generator. Default value: Traditional.
        /// </summary>
        public CollectionBuilder KeyGeneratorType(AKeyGeneratorType value)
        {
            if (_parameters.KeyOptions == null)
            {
                _parameters.KeyOptions = new KeyOptions();
            }

            // needs to be in string format - set enum format explicitely to override global setting
            _parameters.KeyOptions.Type = value.ToString().ToLower();

            return(this);
        }
コード例 #3
0
        /// <summary>
        /// Determines the type of the key generator. Default value: Traditional.
        /// </summary>
        public ACollection KeyGeneratorType(AKeyGeneratorType value)
        {
            // needs to be in string format - set enum format explicitely to override global setting
            _parameters.Enum(ParameterName.KeyOptionsType, value.ToString().ToLower(), EnumFormat.String);

            return this;
        }