Esempio n. 1
0
 public static IObservable <IList <ReadData> > DirectAsyncRead(this IAccessChannel channel,
                                                               IEnumerable <IAccessItemRegistration> registrations)
 {
     return(channel.DirectAsyncRead(registrations.Select(x => x.ServerAlias)));
 }
Esempio n. 2
0
 public static IObservable <ReadData> DirectAsyncRead(this IAccessChannel channel,
                                                      IAccessItemRegistration registration)
 {
     return(channel.DirectAsyncRead(registration.ToEnumerable()).Select(rds => rds.First()));
 }