C# Класс TechTalk.SpecFlow.BindingSkeletons.StepDefinitionSkeletonProvider

Наследование: IStepDefinitionSkeletonProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
EscapeRegex ( string text ) : string

Приватные методы

Метод Описание
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

Описание методов

Analyze() публичный Метод

public Analyze ( TechTalk.SpecFlow.Bindings.StepInstance stepInstance, CultureInfo bindingCulture ) : TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
bindingCulture System.Globalization.CultureInfo
Результат TechTalk.SpecFlow.BindingSkeletons.AnalyzedStepText

EscapeRegex() защищенный статический Метод

protected static EscapeRegex ( string text ) : string
text string
Результат string

GetBindingClassSkeleton() публичный Метод

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
Результат string

GetStepDefinitionSkeleton() публичный Метод

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
Результат string

StepDefinitionSkeletonProvider() публичный Метод

public StepDefinitionSkeletonProvider ( ISkeletonTemplateProvider templateProvider, IStepTextAnalyzer stepTextAnalyzer ) : System
templateProvider ISkeletonTemplateProvider
stepTextAnalyzer IStepTextAnalyzer
Результат System