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