次の方法で共有


SseItemParser<T> 代理人

定義

generic <typename T>
public delegate T SseItemParser(System::String ^ eventType, ReadOnlySpan<System::Byte> data);
public delegate T SseItemParser<out T>(string eventType, ReadOnlySpan<byte> data);
type SseItemParser<'T> = delegate of string * ReadOnlySpan<byte> -> 'T
Public Delegate Function SseItemParser(Of Out T)(eventType As String, data As ReadOnlySpan(Of Byte)) As T 

型パラメーター

T
この型パラメーターは共変です。 つまり、指定した型、または強い派生型のいずれかを使用することができます。 共変性および反変性の詳細については、「ジェネリックの共変性と反変性」をご覧ください。

パラメーター

eventType
String

戻り値

T

拡張メソッド

GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象