C# Class TechTalk.SpecFlow.BindingSkeletons.StepDefinitionSkeletonProvider

Inheritance: IStepDefinitionSkeletonProvider
Afficher le fichier Open project: aqueduct/SpecflowWithNunitRunner Class Usage Examples

Méthodes publiques

Méthode Description
Analyze ( TechTalk.SpecFlow.Bindings.StepInstance stepInstance, CultureInfo bindingCulture ) : TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText
GetBindingClassSkeleton ( ProgrammingLanguage language, TechTalk.SpecFlow.Bindings.StepInstance stepInstances, string namespaceName, string className, StepDefinitionSkeletonStyle style, CultureInfo bindingCulture ) : string
GetStepDefinitionSkeleton ( ProgrammingLanguage language, TechTalk.SpecFlow.Bindings.StepInstance stepInstance, StepDefinitionSkeletonStyle style, CultureInfo bindingCulture ) : string
StepDefinitionSkeletonProvider ( ISkeletonTemplateProvider templateProvider, IStepTextAnalyzer stepTextAnalyzer ) : System

Méthodes protégées

Méthode Description
EscapeRegex ( string text ) : string

Private Methods

Méthode Description
AppendWordsPascalCase ( string text, CultureInfo language, StringBuilder result ) : void
AppendWordsUnderscored ( string text, CultureInfo language, StringBuilder result ) : void
ApplyTemplate ( string template, object args ) : string
GetCSharpTypeName ( string type ) : string
GetFSharpTypeName ( string type ) : string
GetMatchingMethodName ( string keyword, TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText analyzedStepText, CultureInfo language, Action appendWords, string paramFormat ) : string
GetMethodName ( TechTalk.SpecFlow.Bindings.StepInstance stepInstance, TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText analyzedStepText, StepDefinitionSkeletonStyle style, ProgrammingLanguage language ) : string
GetOrderedSteps ( TechTalk.SpecFlow.Bindings.StepInstance stepInstances ) : IEnumerable
GetRegex ( TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText stepText ) : string
GetWords ( string text ) : IEnumerable
ToDeclaration ( ProgrammingLanguage language, TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepParameter parameter ) : string

Method Details

Analyze() public méthode

public Analyze ( TechTalk.SpecFlow.Bindings.StepInstance stepInstance, CultureInfo bindingCulture ) : TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
bindingCulture System.Globalization.CultureInfo
Résultat TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText

EscapeRegex() protected static méthode

protected static EscapeRegex ( string text ) : string
text string
Résultat string

GetBindingClassSkeleton() public méthode

public GetBindingClassSkeleton ( ProgrammingLanguage language, TechTalk.SpecFlow.Bindings.StepInstance stepInstances, string namespaceName, string className, StepDefinitionSkeletonStyle style, CultureInfo bindingCulture ) : string
language ProgrammingLanguage
stepInstances TechTalk.SpecFlow.Bindings.StepInstance
namespaceName string
className string
style StepDefinitionSkeletonStyle
bindingCulture System.Globalization.CultureInfo
Résultat string

GetStepDefinitionSkeleton() public méthode

public GetStepDefinitionSkeleton ( ProgrammingLanguage language, TechTalk.SpecFlow.Bindings.StepInstance stepInstance, StepDefinitionSkeletonStyle style, CultureInfo bindingCulture ) : string
language ProgrammingLanguage
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
style StepDefinitionSkeletonStyle
bindingCulture System.Globalization.CultureInfo
Résultat string

StepDefinitionSkeletonProvider() public méthode

public StepDefinitionSkeletonProvider ( ISkeletonTemplateProvider templateProvider, IStepTextAnalyzer stepTextAnalyzer ) : System
templateProvider ISkeletonTemplateProvider
stepTextAnalyzer IStepTextAnalyzer
Résultat System