private ChangingHandlers([NotNull] BindableChangingAsync <T> @async) { if (@async == null) { throw new ArgumentNullException(nameof(@async)); } this.sync = null; this.async = async; }
public static BindResult BindOnChangingAsync <T>([NotNull] this Bindable <T> bindable, BindableChangingAsync <T> handler) { bindable.ChangingAsync += handler; return(new BindResult(null, () => bindable.ChangingAsync -= handler)); }
public int CompareTo(BindableChangingAsync <T> other) { return(Comparer <BindableChangingAsync <T> > .Default.Compare(this.@async, other)); }