C# 클래스 Flunet.CodeGeneration.AutomataNamespaceBuilder

Builds a CodeNamespace representing a IDeterministicAutomata{T} of MethodInfo.
파일 보기 프로젝트 열기: darkl/Flu.net 1 사용 예제들

공개 메소드들

메소드 설명
AutomataNamespaceBuilder ( IDeterministicAutomata automata ) : System

Creates a new AutomataNamespaceBuilder given a IDeterministicAutomata{T} of MethodInfo.

Build ( string namespaceName, string syntaxTypeName ) : CodeNamespace

Builds the CodeNamespace that represents the given IDeterministicAutomata{T} of MethodInfo.

비공개 메소드들

메소드 설명
CreateTypeDeclaration ( IAutomataState state, IEnumerable typeGenericParameters ) : CodeTypeDeclaration

Creates an empty CodeTypeDeclaration representing a given IAutomataState{T} of MethodInfo.

FixGenericTypes ( IDictionary result ) : void

Finds generic types dependencies between states.

GatherStatesToGenericParameters ( ) : ICollection>.IDictionary

Creates a mapping between the states to their generic types.

메소드 상세

AutomataNamespaceBuilder() 공개 메소드

Creates a new AutomataNamespaceBuilder given a IDeterministicAutomata{T} of MethodInfo.
public AutomataNamespaceBuilder ( IDeterministicAutomata automata ) : System
automata IDeterministicAutomata The given .
리턴 System

Build() 공개 메소드

Builds the CodeNamespace that represents the given IDeterministicAutomata{T} of MethodInfo.
public Build ( string namespaceName, string syntaxTypeName ) : CodeNamespace
namespaceName string The given namespace's name.
syntaxTypeName string
리턴 System.CodeDom.CodeNamespace