Exemple #1
0
 /// <summary>
 /// Create a write request for the given channel.
 /// </summary>
 /// <param name="self">The channel to request the write to.</param>
 /// <param name="value">The value to write.</param>
 /// <typeparam name="T">The type of the channel.</typeparam>
 /// <returns>The created request</returns>
 public static MultisetRequest <T> RequestWrite <T>(this IWriteChannel <T> self, T value)
 {
     return(MultisetRequest <T> .Write(value, self));
 }
Exemple #2
0
 /// <summary>
 /// Creates a read request for the given channel.
 /// </summary>
 /// <param name="self">The channel to request the read from.</param>
 /// <typeparam name="T">The type of the channel.</typeparam>
 /// <returns>The created request</returns>
 public static MultisetRequest <T> RequestRead <T>(this IReadChannel <T> self)
 {
     return(MultisetRequest <T> .Read(self));
 }