Compartir a través de


CustomAggregateMethodAnnotation.AddMethod Método

Definición

Agrega todas las implementaciones de un método que comparten el mismo 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

Parámetros

methodToken
String

Token de método especificado.

methods
IDictionary<Type,MethodInfo>

Diccionario de métodos especificado.

Devoluciones

Se aplica a