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