示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiChained"/> class with the given instances of <see cref="IValueConverter"/>.
 /// </summary>
 /// <param name="multiConverter">The multi-value converter.</param>
 /// <param name="converter1">The first value converter.</param>
 /// <param name="converter2">The second value converter.</param>
 /// <param name="converter3">The third value converter.</param>
 /// <param name="converter4">The fourth value converter.</param>
 /// <param name="converter5">The fifth value converter.</param>
 /// <param name="converter6">The sixth value converter.</param>
 /// <param name="converter7">The seventh value converter.</param>
 /// <param name="converter8">The eighth value converter.</param>
 public MultiChained(IMultiValueConverter multiConverter, IValueConverter converter1, IValueConverter converter2, IValueConverter converter3, IValueConverter converter4,
                     IValueConverter converter5, IValueConverter converter6, IValueConverter converter7, IValueConverter converter8)
 {
     chainedConverter = new Chained();
     MultiConverter   = multiConverter;
     Converter1       = converter1;
     Converter2       = converter2;
     Converter3       = converter3;
     Converter4       = converter4;
     Converter5       = converter5;
     Converter6       = converter6;
     Converter7       = converter7;
     Converter8       = converter8;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiChained"/> class with the given instances of <see cref="IValueConverter"/>.
 /// </summary>
 /// <param name="multiConverter">The multi-value converter.</param>
 /// <param name="converter1">The first value converter.</param>
 /// <param name="converter2">The second value converter.</param>
 /// <param name="converter3">The third value converter.</param>
 /// <param name="converter4">The fourth value converter.</param>
 /// <param name="converter5">The fifth value converter.</param>
 /// <param name="converter6">The sixth value converter.</param>
 /// <param name="converter7">The seventh value converter.</param>
 /// <param name="converter8">The eighth value converter.</param>
 public MultiChained(IMultiValueConverter multiConverter, IValueConverter converter1, IValueConverter converter2, IValueConverter converter3, IValueConverter converter4,
                     IValueConverter converter5, IValueConverter converter6, IValueConverter converter7, IValueConverter converter8)
 {
     chainedConverter = new Chained();
     MultiConverter = multiConverter;
     Converter1 = converter1;
     Converter2 = converter2;
     Converter3 = converter3;
     Converter4 = converter4;
     Converter5 = converter5;
     Converter6 = converter6;
     Converter7 = converter7;
     Converter8 = converter8;
 }