Channel<TWrite,TRead>.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(Channel<TWrite,TRead> to ChannelReader<TRead>) |
Implicit cast from a Channel<TWrite,TRead> to its readable half. |
Implicit(Channel<TWrite,TRead> to ChannelWriter<TWrite>) |
Implicit cast from a Channel<TWrite,TRead> to its writable half. |
Implicit(Channel<TWrite,TRead> to ChannelReader<TRead>)
- Source:
- Channel_2.cs
- Source:
- Channel_2.cs
- Source:
- Channel_2.cs
- Source:
- Channel_2.cs
Implicit cast from a Channel<TWrite,TRead> to its readable half.
public:
static operator System::Threading::Channels::ChannelReader<TRead> ^(System::Threading::Channels::Channel<TWrite, TRead> ^ channel);
public static implicit operator System.Threading.Channels.ChannelReader<TRead> (System.Threading.Channels.Channel<TWrite,TRead> channel);
static member op_Implicit : System.Threading.Channels.Channel<'Write, 'Read> -> System.Threading.Channels.ChannelReader<'Read>
Public Shared Widening Operator CType (channel As Channel(Of TWrite, TRead)) As ChannelReader(Of TRead)
Parameters
- channel
- Channel<TWrite,TRead>
The Channel<TWrite,TRead> being cast.
Returns
ChannelReader<TRead>
The readable half.
Applies to
Implicit(Channel<TWrite,TRead> to ChannelWriter<TWrite>)
- Source:
- Channel_2.cs
- Source:
- Channel_2.cs
- Source:
- Channel_2.cs
- Source:
- Channel_2.cs
Implicit cast from a Channel<TWrite,TRead> to its writable half.
public:
static operator System::Threading::Channels::ChannelWriter<TWrite> ^(System::Threading::Channels::Channel<TWrite, TRead> ^ channel);
public static implicit operator System.Threading.Channels.ChannelWriter<TWrite> (System.Threading.Channels.Channel<TWrite,TRead> channel);
static member op_Implicit : System.Threading.Channels.Channel<'Write, 'Read> -> System.Threading.Channels.ChannelWriter<'Write>
Public Shared Widening Operator CType (channel As Channel(Of TWrite, TRead)) As ChannelWriter(Of TWrite)
Parameters
- channel
- Channel<TWrite,TRead>
The Channel<TWrite,TRead> being cast.
Returns
ChannelWriter<TWrite>
The writable half.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.