MessageFormatterEnumerableTracker 클래스

정의

구현에서 IJsonRpcMessageFormatter RPC 메서드의 반환 값을 지원하는 IAsyncEnumerable<T> 데 사용할 수 있는 도우미 클래스입니다.

public class MessageFormatterEnumerableTracker
type MessageFormatterEnumerableTracker = class
Public Class MessageFormatterEnumerableTracker
상속
MessageFormatterEnumerableTracker

생성자

MessageFormatterEnumerableTracker(JsonRpc, IJsonRpcFormatterState)

MessageFormatterEnumerableTracker 클래스의 새 인스턴스를 초기화합니다.

필드

TokenPropertyName

열거 가능한 핸들을 전달하는 문자열 속성의 이름입니다.

ValuesPropertyName

값을 포함하는 JSON 배열 속성의 이름입니다.

메서드

CanDeserialize(Type)

지정된 Type 형식이 정확히 닫힌 제네릭 형식인지 확인합니다 IAsyncEnumerable<T>.

CanSerialize(Type)

지정된 Type 구현이 있는지 확인합니다.IAsyncEnumerable<T>

CreateEnumerableProxy<T>(Object, IReadOnlyList<T>)

소비자가 원격 생성기에서 모든 값을 구현 IAsyncEnumerable<T> 하고 가져오는 프록시를 생성하는 데 사용됩니다.

GetToken<T>(IAsyncEnumerable<T>)

생성기에서 지정된 IAsyncEnumerable<T>핸들에 핸들을 할당하는 데 사용됩니다.

적용 대상