C# 클래스 Microsoft.AspNet.SignalR.Hubs.ReflectedMethodDescriptorProvider

상속: IMethodDescriptorProvider
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

공개 메소드들

메소드 설명
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