Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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;
        }