Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StringEmptyConverter" /> class with the specified conversion method and result transformation.
 /// </summary>
 /// <param name="method">The method that is used to check the <see cref="string" /> value for emptiness.</param>
 /// <param name="result">Specifies how the <see cref="bool" /> result is converted before the <see cref="Convert(string)" /> method returns.</param>
 public StringEmptyConverter(StringEmptyConverterMethod method, BooleanConverterMethod result)
 {
     Method = method;
     Result = result;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StringEmptyConverter" /> class with the specified conversion method.
 /// </summary>
 /// <param name="method">The method that is used to check the <see cref="string" /> value for emptiness.</param>
 public StringEmptyConverter(StringEmptyConverterMethod method) : this(method, BooleanConverterMethod.Default)
 {
 }