Beispiel #1
0
        public IOneWayPropertyBinding <TSource, TTarget, TTargetProperty, TSourceProperty> WithConverter <T>()
            where T : IConverterFromSource <TSourceProperty, TTargetProperty>, new()
        {
            this.converter = Cache <T> .Instance;

            // The result may have changed.
            this.OnSourceChanged();
            return(this);
        }
 public IEventToCommandBinding <TSource, TTarget, TEventArgs, TCommand> WithConverter <T>()
     where T : IConverterFromSource <TEventArgs, object>, new()
 {
     this.converter = Cache <T> .Instance;
     return(this);
 }