MessageFormatterEnumerableTracker 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구현에서 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>핸들에 핸들을 할당하는 데 사용됩니다. |