Ejemplo n.º 1
0
 public ValueAssignment(object destination, IDescribeMappableProperty destinationProperty,IValueConverterContainer valueConverters, IInvoke invoke)
 {
     if (destinationProperty == null)
         throw new ArgumentNullException("destinationProperty");
     this.destination = destination;
     this.destinationProperty = destinationProperty;
     this.invoke = invoke;
     this.valueConverters = valueConverters ?? NullValueConverterContainer.Instance;
 }
Ejemplo n.º 2
0
 public AssignableValue(object value, IDescribeMappableProperty destinationProperty, IValueConverterContainer valueConverters)
 {
     if (destinationProperty == null)
         throw new ArgumentNullException("destinationProperty");
     this.valueConverters = valueConverters ?? NullValueConverterContainer.Instance;
     this.destinationProperty = destinationProperty;
     this.originalValue = value;
     destinationValue = value;
     TryConvert();
 }
Ejemplo n.º 3
0
 public ValueAssignment(object destination, IDescribeMappableProperty destinationProperty, IValueConverterContainer valueConverters, IInvoke invoke)
 {
     if (destinationProperty == null)
     {
         throw new ArgumentNullException("destinationProperty");
     }
     this.destination         = destination;
     this.destinationProperty = destinationProperty;
     this.invoke          = invoke;
     this.valueConverters = valueConverters ?? NullValueConverterContainer.Instance;
 }
Ejemplo n.º 4
0
 public AssignableValue(object value, IDescribeMappableProperty destinationProperty, IValueConverterContainer valueConverters)
 {
     if (destinationProperty == null)
     {
         throw new ArgumentNullException("destinationProperty");
     }
     this.valueConverters     = valueConverters ?? NullValueConverterContainer.Instance;
     this.destinationProperty = destinationProperty;
     this.originalValue       = value;
     destinationValue         = value;
     TryConvert();
 }
Ejemplo n.º 5
0
 public ValueAssignments(IValueConverterContainer converters, IInvoke invoke)
 {
     this.converters = converters;
     this.invoke = invoke;
 }
Ejemplo n.º 6
0
 public GlobalConventions(IValueConverterContainer converters)
 {
     this.converters = converters;
 }
 public ValueAssignments(IValueConverterContainer converters, IInvoke invoke)
 {
     this.converters = converters;
     this.invoke     = invoke;
 }
Ejemplo n.º 8
0
 public GlobalConventions(IValueConverterContainer converters)
 {
     this.converters = converters;
 }