Share via


CustomAggregateMethodAnnotation.AddMethod Method

Definition

Adds all implementations of a method that share the same methodToken.

public Microsoft.AspNet.OData.CustomAggregateMethodAnnotation AddMethod (string methodToken, System.Collections.Generic.IDictionary<Type,System.Reflection.MethodInfo> methods);
member this.AddMethod : string * System.Collections.Generic.IDictionary<Type, System.Reflection.MethodInfo> -> Microsoft.AspNet.OData.CustomAggregateMethodAnnotation
Public Function AddMethod (methodToken As String, methods As IDictionary(Of Type, MethodInfo)) As CustomAggregateMethodAnnotation

Parameters

methodToken
String

The given method token.

methods
IDictionary<Type,MethodInfo>

The given method dictionary.

Returns

Applies to