CustomAggregateMethodAnnotation 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
클라이언트가 정의된 사용자 지정 집계 메서드를 OData에 알릴 수 있습니다. 이렇게 하려면 OData URL에 있는 메서드의 전체 식별자인 methodToken과 집계 메서드의 입력 형식을 MethodInfo에 매핑하는 IDictionary를 받아야 합니다.
public class CustomAggregateMethodAnnotation
type CustomAggregateMethodAnnotation = class
Public Class CustomAggregateMethodAnnotation
- 상속
-
CustomAggregateMethodAnnotation
생성자
CustomAggregateMethodAnnotation() |
CustomAggregateMethodAnnotation 클래스의 새 인스턴스를 초기화합니다. |
메서드
AddMethod(String, IDictionary<Type,MethodInfo>) |
동일한 methodToken을 공유하는 메서드의 모든 구현을 추가합니다. |
GetMethodInfo(String, Type, MethodInfo) |
returnType 및 methodToken을 지정하여 메서드의 구현을 가져옵니다. 요구 사항과 일치하는 메서드가 없으면 null을 반환합니다. |