示例#1
0
 public static IObservable <T> Receive <T>(this IInstanceReceiver self)
 {
     return(self
            .MessageReceiver
            .Receive <IInstancePublisher>()
            .OfType(default(T)));
 }
示例#2
0
 public static IObservable <T> Receive <T>(this IInstanceReceiver self)
 {
     return(ProjectContext.Instance.Container.Resolve <IInstanceBroker>().Receive <T>());
 }