/// <summary>
 /// Set or update the <see cref="ValueTypeConvertOptions"/> with the provided parameters
 /// </summary>
 /// <param name="convertFlags">Settings for converting to and from value types</param>
 /// <returns>A new <see cref="ConvertOptionsBuilder"/> with updated settings</returns>
 /// <see cref="ValueTypeConvertOptions"/>
 /// <see cref="ValueTypeConvertFlags"/>
 public ConvertOptionsBuilder WithValueTypeOptions(ValueTypeConvertFlags convertFlags)
 => new ConvertOptionsBuilder(this, new ValueTypeConvertOptions(convertFlags));
Пример #2
0
 public ValueTypeConvertOptions(ValueTypeConvertFlags convertFlags) => throw null;
Пример #3
0
        /// <summary>
        /// Create a new <see cref="ValueTypeConvertOptions"/>
        /// </summary>
        public ValueTypeConvertOptions(ValueTypeConvertFlags convertFlags)
        {
            this.ConvertFlags = convertFlags;

            this.NullToValueDefault = ConvertFlags.HasFlag(ValueTypeConvertFlags.NullToValueDefault);
        }
Пример #4
0
 public ConvertOptionsBuilder WithValueTypeOptions(ValueTypeConvertFlags convertFlags) => throw null;
Пример #5
0
 public ValueTypeConvertOptions(ValueTypeConvertFlags convertFlags);