Esempio n. 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());
 }
Esempio n. 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());
 }
Esempio n. 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));
 }