다음을 통해 공유


Channel<TWrite,TRead>.Implicit 연산자

정의

오버로드

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<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<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>

쓰기 가능한 절반입니다.

적용 대상