public OrInputChangeOptions(
     IInputChangeRunner parent,
     TViewModel model,
     Func <TViewModel, INotifyChange <TProperty> > orProperty,
     IThrottleFactory throttleFactory)
     : base(model, orProperty, throttleFactory)
 {
     this.parent = parent;
 }
示例#2
0
 public InputChangeOptions(
     TViewModel model,
     Func <TViewModel, INotifyChange <TProperty> > property,
     IThrottleFactory throttleFactory)
 {
     this.model           = model;
     this.property        = property;
     this.throttleFactory = throttleFactory;
 }
示例#3
0
 public ViewModelContext(
     IThrottleFactory throttleFactory,
     ViewModelLocator viewModelLocator,
     Dispatcher dispatcher,
     ICommandBus commandBus,
     IAsyncContextExceptionHandler asyncContextExceptionHandler)
 {
     AsyncContextExceptionHandler = asyncContextExceptionHandler;
     ThrottleFactory  = throttleFactory;
     ViewModelLocator = viewModelLocator;
     Dispatcher       = dispatcher;
     CommandBus       = commandBus;
 }
 public ThrottleOptions(IThrottleFactory throttleFactory, TimeSpan throttleTime, IInputChangeRunner runner)
 {
     this.throttleFactory = throttleFactory;
     this.throttleTime    = throttleTime;
     runner.Run(() => throttle.Invoke());
 }