Exemplo n.º 1
0
 public static Task ReadAsync(this IAccessChannel channel, IAccessItemRegistration reg)
 {
     return(channel.ReadAsync(reg.ToEnumerable()));
 }
Exemplo n.º 2
0
 public static IObservable <ReadData> DirectAsyncRead(this IAccessChannel channel,
                                                      IAccessItemRegistration registration)
 {
     return(channel.DirectAsyncRead(registration.ToEnumerable()).Select(rds => rds.First()));
 }
Exemplo n.º 3
0
 public static void Read(this IAccessChannel channel, IAccessItemRegistration reg)
 {
     channel.Read(reg.ToEnumerable());
 }