/// <summary> /// Initializes a new instance of the <see cref="TypeConverter" /> class with the specified conversion method and result transformation. /// </summary> /// <param name="method">The method that is used to convert the <see cref="Type" /> of the <see cref="object" /> value.</param> /// <param name="result">Specifies how the <see cref="bool" /> result is converted before the <see cref="Convert(object, Type)" /> method returns.</param> public TypeConverter(TypeConverterMethod method, BooleanConverterMethod result) { Method = method; Result = result; }
/// <summary> /// Initializes a new instance of the <see cref="TypeConverter" /> class with the specified conversion method. /// </summary> /// <param name="method">The method that is used to convert the <see cref="Type" /> of the <see cref="object" /> value.</param> public TypeConverter(TypeConverterMethod method) : this(method, BooleanConverterMethod.Default) { }