C# Class FubuMVC.Swank.Specification.SpecificationService

显示文件 Open project: mikeobrien/FubuMVC.Swank Class Usage Examples

Public Properties

Property Type Description
HttpVerbRank int>.Func

Public Methods

Method Description
Generate ( ) : Specification
SpecificationService ( Configuration configuration, BehaviorSource behaviors, ITypeDescriptorCache typeCache, ModuleDescription>.IDescriptionConvention moduleConvention, ResourceDescription>.IDescriptionConvention resourceConvention, EndpointDescription>.IDescriptionConvention endpointConvention, MemberDescription>.IDescriptionConvention memberConvention, IDescriptionConvention statusCodeConvention, IDescriptionConvention headerConvention, IDescriptionConvention mimeTypeConvention, TypeGraphFactory typeGraphFactory, BodyDescriptionFactory bodyDescriptionFactory, OptionFactory optionFactory ) : System

Private Methods

Method Description
CheckForOrphanedChains ( IList behaviorMappings ) : void
GetBehaviorMapping ( IEnumerable chains ) : List
GetEndpoints ( IEnumerable chains ) : List
GetHeaders ( BehaviorChain chain, HttpDirection type ) : List
GetMimeTypes ( BehaviorChain chain, HttpDirection direction ) : List
GetModules ( IEnumerable behaviorMappings ) : List
GetQuerystringParameters ( BehaviorChain chain ) : List
GetRequest ( BehaviorChain chain, EndpointDescription endpoint ) : Data
GetResources ( IEnumerable behaviorMappings ) : List
GetResponse ( BehaviorChain chain, EndpointDescription endpoint ) : Data
GetStatusCodes ( BehaviorChain chain ) : List
GetUrlParameters ( BehaviorChain chain ) : List

Method Details

Generate() public method

public Generate ( ) : Specification
return Specification

SpecificationService() public method

public SpecificationService ( Configuration configuration, BehaviorSource behaviors, ITypeDescriptorCache typeCache, ModuleDescription>.IDescriptionConvention moduleConvention, ResourceDescription>.IDescriptionConvention resourceConvention, EndpointDescription>.IDescriptionConvention endpointConvention, MemberDescription>.IDescriptionConvention memberConvention, IDescriptionConvention statusCodeConvention, IDescriptionConvention headerConvention, IDescriptionConvention mimeTypeConvention, TypeGraphFactory typeGraphFactory, BodyDescriptionFactory bodyDescriptionFactory, OptionFactory optionFactory ) : System
configuration Configuration
behaviors BehaviorSource
typeCache ITypeDescriptorCache
moduleConvention ModuleDescription>.IDescriptionConvention
resourceConvention ResourceDescription>.IDescriptionConvention
endpointConvention EndpointDescription>.IDescriptionConvention
memberConvention MemberDescription>.IDescriptionConvention
statusCodeConvention IDescriptionConvention
headerConvention IDescriptionConvention
mimeTypeConvention IDescriptionConvention
typeGraphFactory TypeGraphFactory
bodyDescriptionFactory BodyDescriptionFactory
optionFactory OptionFactory
return System

Property Details

HttpVerbRank public_oe static_oe property

public static Func HttpVerbRank
return int>.Func