Editar

Compartir a través de


Channel<TWrite,TRead>.Implicit Operator

Definition

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

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

Returns

ChannelWriter<TWrite>

The writable half.

Applies to