public FEventRegisterCastTo(FEventRegister inner, Func <T0> castFun) { _inner = inner; _castbridge = castFun; }
public FEventRegisterCastFromTo(FEventRegister <T0> inner, Func <T0, U0> castFun) { _inner = inner; _castbridge = castFun; }
public FEventRegisterCastDownRemoveT_0_1(FEventRegister <T0, T1> upper, Action <T0, T1, Action <U0> > tranAction) { _upper = upper; _tranAction = tranAction; }
public FEventRegisterCastDown(FEventRegister <T0> upper) { _upper = upper; }
//创建可观察的数据 public static IObservable <T> CreateObservable(FEventRegister <T> fEvent, Func <T> valueGeter) { return(new ReadOnlyObservale <T>(fEvent, valueGeter)); }
public ReadOnlyObservale(FEventRegister <U> fEventRegister, Func <U> valueGeter) { _fEventRegister = fEventRegister; _valueGeter = valueGeter; }
protected void AddEventHandler <T1, T2, T3, T4>(FEventRegister <T1, T2, T3, T4> register, Action <T1, T2, T3, T4> cb) { AutoRelease(register.Subscribe(cb)); }
protected void AddEventHandler(FEventRegister register, Action cb) { AutoRelease(register.Subscribe(cb)); }
public FEventRegisterComb(FEventRegister left, FEventRegister right) { _left = left; _right = right; }