C# Класс Microsoft.AspNetCore.SignalR.Hubs.ReflectedMethodDescriptorProvider

Наследование: IMethodDescriptorProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
GetMethods ( HubDescriptor hub ) : IEnumerable
ReflectedMethodDescriptorProvider ( ) : System
TryGetMethod ( HubDescriptor hub, string method, MethodDescriptor &descriptor, IList parameters ) : bool

Searches the specified hub">Hub for the specified method, the parameter set helps determine exactly which instance of the overload should be resolved. If there are multiple overloads found with the same number of matching parameters, none of the methods will be returned because it is not possible to determine which overload of the method was intended to be resolved.

Приватные методы

Метод Описание
BuildHubExecutableMethodCacheKey ( HubDescriptor hub, string method, IList parameters ) : string
BuildMethodCacheFor ( HubDescriptor hub ) : IEnumerable>.IDictionary

Builds a dictionary of all possible methods on a given hub. Single entry contains a collection of available overloads for a given method name (key). This dictionary is being cached afterwards.

ExtractProgressParameter ( ParameterInfo parameters, Type &progressReportingType ) : IEnumerable
FetchMethodsFor ( HubDescriptor hub ) : IEnumerable>.IDictionary

Retrieves an existing dictionary of all available methods for a given hub from cache. If cache entry does not exist - it is created automatically by BuildMethodCacheFor.

GetMethodAttributeName ( MethodInfo method ) : string
GetMethodDescriptor ( string methodName, HubDescriptor hub, MethodInfo methodInfo ) : MethodDescriptor
GetMethodName ( MethodInfo method ) : string
IsProgressType ( ParameterInfo parameter ) : bool

Описание методов

GetMethods() публичный Метод

public GetMethods ( HubDescriptor hub ) : IEnumerable
hub HubDescriptor
Результат IEnumerable

ReflectedMethodDescriptorProvider() публичный Метод

public ReflectedMethodDescriptorProvider ( ) : System
Результат System

TryGetMethod() публичный Метод

Searches the specified hub">Hub for the specified In the case that there are multiple overloads of the specified method, the parameter set helps determine exactly which instance of the overload should be resolved. If there are multiple overloads found with the same number of matching parameters, none of the methods will be returned because it is not possible to determine which overload of the method was intended to be resolved.
public TryGetMethod ( HubDescriptor hub, string method, MethodDescriptor &descriptor, IList parameters ) : bool
hub HubDescriptor Hub to search for the specified on.
method string The method name to search for.
descriptor MethodDescriptor If successful, the that was resolved.
parameters IList The set of parameters that will be used to help locate a specific overload of the specified .
Результат bool