C# 클래스 WebStreams.Server.ControllerBuilder

Methods for constructing controllers
파일 보기 프로젝트 열기: WebStreams/WebStreams.Server 1 사용 예제들

공개 메소드들

메소드 설명
GetRoutes ( Type controller, WebStreamsSettings settings ) : ControllerRoute>.IDictionary

Returns the steam controller routes for the provided controller.

비공개 메소드들

메소드 설명
GetControllerMethod ( MethodInfo method, WebStreamsSettings settings, string methodRoutePrefix ) : ControllerRoute

Returns the ControllerRoute.Invoker for the provided method.

GetRoutePrefix ( Type type ) : string

Returns the RoutePrefixAttribute value for the provided type.

GetRouteSuffixTemplate ( MethodInfo method ) : string

Returns the RouteAttribute.Route value for the provided method.

GetStreamMethods ( Type type ) : IEnumerable

Returns the steam controller methods for the provided type.

IsStreamMethod ( MethodInfo method ) : bool

Returns if the provided method is a stream controller method, otherwise.

JoinRouteParts ( ) : string

Returns the joined route for the provided values.

메소드 상세

GetRoutes() 공개 정적인 메소드

Returns the steam controller routes for the provided controller.
public static GetRoutes ( Type controller, WebStreamsSettings settings ) : ControllerRoute>.IDictionary
controller System.Type /// The controller type. ///
settings WebStreamsSettings /// The settings. ///
리턴 ControllerRoute>.IDictionary