Beispiel #1
0
 /// <summary>
 /// Gets or creates the channel in the current scope
 /// </summary>
 /// <returns>The channel instance.</returns>
 public IReadChannelEnd <T> GetForRead()
 {
     return(ChannelManager.GetChannel <T>(this).AsReadOnly());
 }
Beispiel #2
0
 /// <summary>
 /// Gets or creates the channel in the current scope
 /// </summary>
 /// <returns>The channel instance.</returns>
 public IWriteChannelEnd <T> GetForWrite()
 {
     return(ChannelManager.GetChannel <T>(this).AsWriteOnly());
 }
Beispiel #3
0
 /// <summary>
 /// Gets or creates the channel in the current scope
 /// </summary>
 /// <returns>The channel instance.</returns>
 public IChannel <T> Get()
 {
     return(ChannelManager.GetChannel <T>(this));
 }