示例#1
0
 public static IDisposable AddTransformation <T, U>(Func <T, U> func) => Get <T>().Subscribe(it => EVENTS.OnNext(func(it)));
示例#2
0
 public static void Publish <T>(T ev) => EVENTS.OnNext(ev);
示例#3
0
 public static IDisposable AddSource <T>(IObservable <T> source) => source.Subscribe(obj => EVENTS.OnNext(obj));