Partager via


Channel<TWrite,TRead>.Implicit Opérateur

Définition

Surcharges

Implicit(Channel<TWrite,TRead> to ChannelReader<TRead>)

Cast implicite d’un Channel<TWrite,TRead> vers sa moitié accessible en lecture.

Implicit(Channel<TWrite,TRead> to ChannelWriter<TWrite>)

Cast implicite d’un Channel<TWrite,TRead> vers sa moitié accessible en écriture.

Implicit(Channel<TWrite,TRead> to ChannelReader<TRead>)

Cast implicite d’un Channel<TWrite,TRead> vers sa moitié accessible en lecture.

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)

Paramètres

channel
Channel<TWrite,TRead>

Élément Channel<TWrite,TRead> casté.

Retours

ChannelReader<TRead>

Moitié accessible en lecture.

S’applique à

Implicit(Channel<TWrite,TRead> to ChannelWriter<TWrite>)

Cast implicite d’un Channel<TWrite,TRead> vers sa moitié accessible en écriture.

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)

Paramètres

channel
Channel<TWrite,TRead>

Élément Channel<TWrite,TRead> casté.

Retours

ChannelWriter<TWrite>

Moitié accessible en écriture.

S’applique à