Condividi tramite


Channel<TWrite,TRead>.Implicit Operatore

Definizione

Overload

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

Cast implicito da Channel<TWrite,TRead> alla metà leggibile corrispondente.

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

Cast implicito da Channel<TWrite,TRead> alla metà scrivibile corrispondente.

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

Cast implicito da Channel<TWrite,TRead> alla metà leggibile corrispondente.

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)

Parametri

channel
Channel<TWrite,TRead>

Oggetto Channel<TWrite,TRead> di cui viene eseguito il cast.

Restituisce

ChannelReader<TRead>

Metà leggibile.

Si applica a

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

Cast implicito da Channel<TWrite,TRead> alla metà scrivibile corrispondente.

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)

Parametri

channel
Channel<TWrite,TRead>

Oggetto Channel<TWrite,TRead> di cui viene eseguito il cast.

Restituisce

ChannelWriter<TWrite>

Metà scrivibile.

Si applica a