Channel<TWrite,TRead>.Implicit Operator

定義

オーバーロード

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

Channel<TWrite,TRead> から読み取り可能な半分への暗黙的なキャスト。

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

Channel<TWrite,TRead> から書き込み可能な半分への暗黙的なキャスト。

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

ソース:
Channel_2.cs
ソース:
Channel_2.cs
ソース:
Channel_2.cs

Channel<TWrite,TRead> から読み取り可能な半分への暗黙的なキャスト。

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)

パラメーター

channel
Channel<TWrite,TRead>

キャストされている Channel<TWrite,TRead>

戻り値

ChannelReader<TRead>

読み取り可能な半分。

適用対象

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

ソース:
Channel_2.cs
ソース:
Channel_2.cs
ソース:
Channel_2.cs

Channel<TWrite,TRead> から書き込み可能な半分への暗黙的なキャスト。

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)

パラメーター

channel
Channel<TWrite,TRead>

キャストされている Channel<TWrite,TRead>

戻り値

ChannelWriter<TWrite>

書き込み可能な半分。

適用対象