C# 클래스 TechTalk.SpecFlow.BindingSkeletons.StepDefinitionSkeletonProvider

상속: IStepDefinitionSkeletonProvider
파일 보기 프로젝트 열기: aqueduct/SpecflowWithNunitRunner 1 사용 예제들

공개 메소드들

메소드 설명
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