示例#1
0
 public static IVDomNode <T, TMessage> Subscribe <T, TKey, TMessage>(
     this IVDomNode <T, TMessage> node,
     TKey key,
     Func <TKey, IObservable <TMessage> > fn)
 {
     return(node.Subscribe(_ => key, fn));
 }
示例#2
0
 public static IVDomNode <T, TMessage> Subscribe <T, TMessage>(
     this IVDomNode <T, TMessage> node,
     Func <T, IObservable <TMessage> > fn)
 {
     return(node.Subscribe(o => o, fn));
 }