C# 클래스 ServiceStack.Host.ServiceMetadata

파일 보기 프로젝트 열기: ServiceStack/ServiceStack 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Type serviceType, Type requestType, Type responseType ) : void
AfterInit ( ) : void
CanAccess ( Format format, string operationName ) : bool
CanAccess ( IRequest httpReq, Format format, string operationName ) : bool
CanAccess ( ServiceStack.Host.RequestAttributes reqAttrs, Format format, string operationName ) : bool
GetAllOperationNames ( ) : List
GetAllOperationTypes ( ) : List
GetAllSoapOperationTypes ( ) : List
GetImplementedActions ( Type serviceType, Type requestType ) : List
GetMetadataTypesForOperation ( IRequest httpReq, Operation op ) : List
GetOperation ( Type operationType ) : Operation
GetOperationAssemblies ( ) : List
GetOperationDtos ( ) : List
GetOperationNamesForMetadata ( IRequest httpReq ) : List
GetOperationNamesForMetadata ( IRequest httpReq, Format format ) : List
GetOperationType ( string operationTypeName ) : Type
GetResponseTypeByRequest ( Type requestType ) : Type
GetServiceTypeByRequest ( Type requestType ) : Type
GetServiceTypeByResponse ( Type responseType ) : Type
HasImplementation ( Operation operation, Format format ) : bool
IsAuthorized ( Operation operation, IRequest req, IAuthSession session ) : bool
IsVisible ( IRequest httpReq, Format format, string operationName ) : bool
IsVisible ( IRequest httpReq, Operation operation ) : bool
IsVisible ( IRequest httpReq, Type requestType ) : bool
ServiceMetadata ( List restPaths ) : System

비공개 메소드들

메소드 설명
AddReferencedTypes ( MetadataType metadataType, MetadataTypes metadataTypes, List types ) : void
CanShowToNetwork ( RestrictAttribute restrictTo, ServiceStack.Host.RequestAttributes reqAttrs ) : bool
FindMetadataType ( MetadataTypes metadataTypes, Type type ) : MetadataType
FindMetadataType ( MetadataTypes metadataTypes, string name, string @namespace = null ) : MetadataType

메소드 상세

Add() 공개 메소드

public Add ( Type serviceType, Type requestType, Type responseType ) : void
serviceType System.Type
requestType System.Type
responseType System.Type
리턴 void

AfterInit() 공개 메소드

public AfterInit ( ) : void
리턴 void

CanAccess() 공개 메소드

public CanAccess ( Format format, string operationName ) : bool
format Format
operationName string
리턴 bool

CanAccess() 공개 메소드

public CanAccess ( IRequest httpReq, Format format, string operationName ) : bool
httpReq IRequest
format Format
operationName string
리턴 bool

CanAccess() 공개 메소드

public CanAccess ( ServiceStack.Host.RequestAttributes reqAttrs, Format format, string operationName ) : bool
reqAttrs ServiceStack.Host.RequestAttributes
format Format
operationName string
리턴 bool

GetAllOperationNames() 공개 메소드

public GetAllOperationNames ( ) : List
리턴 List

GetAllOperationTypes() 공개 메소드

public GetAllOperationTypes ( ) : List
리턴 List

GetAllSoapOperationTypes() 공개 메소드

public GetAllSoapOperationTypes ( ) : List
리턴 List

GetImplementedActions() 공개 메소드

public GetImplementedActions ( Type serviceType, Type requestType ) : List
serviceType System.Type
requestType System.Type
리턴 List

GetMetadataTypesForOperation() 공개 메소드

public GetMetadataTypesForOperation ( IRequest httpReq, Operation op ) : List
httpReq IRequest
op Operation
리턴 List

GetOperation() 공개 메소드

public GetOperation ( Type operationType ) : Operation
operationType System.Type
리턴 Operation

GetOperationAssemblies() 공개 메소드

public GetOperationAssemblies ( ) : List
리턴 List

GetOperationDtos() 공개 메소드

public GetOperationDtos ( ) : List
리턴 List

GetOperationNamesForMetadata() 공개 메소드

public GetOperationNamesForMetadata ( IRequest httpReq ) : List
httpReq IRequest
리턴 List

GetOperationNamesForMetadata() 공개 메소드

public GetOperationNamesForMetadata ( IRequest httpReq, Format format ) : List
httpReq IRequest
format Format
리턴 List

GetOperationType() 공개 메소드

public GetOperationType ( string operationTypeName ) : Type
operationTypeName string
리턴 System.Type

GetResponseTypeByRequest() 공개 메소드

public GetResponseTypeByRequest ( Type requestType ) : Type
requestType System.Type
리턴 System.Type

GetServiceTypeByRequest() 공개 메소드

public GetServiceTypeByRequest ( Type requestType ) : Type
requestType System.Type
리턴 System.Type

GetServiceTypeByResponse() 공개 메소드

public GetServiceTypeByResponse ( Type responseType ) : Type
responseType System.Type
리턴 System.Type

HasImplementation() 공개 메소드

public HasImplementation ( Operation operation, Format format ) : bool
operation Operation
format Format
리턴 bool

IsAuthorized() 공개 메소드

public IsAuthorized ( Operation operation, IRequest req, IAuthSession session ) : bool
operation Operation
req IRequest
session IAuthSession
리턴 bool

IsVisible() 공개 메소드

public IsVisible ( IRequest httpReq, Format format, string operationName ) : bool
httpReq IRequest
format Format
operationName string
리턴 bool

IsVisible() 공개 메소드

public IsVisible ( IRequest httpReq, Operation operation ) : bool
httpReq IRequest
operation Operation
리턴 bool

IsVisible() 공개 메소드

public IsVisible ( IRequest httpReq, Type requestType ) : bool
httpReq IRequest
requestType System.Type
리턴 bool

ServiceMetadata() 공개 메소드

public ServiceMetadata ( List restPaths ) : System
restPaths List
리턴 System