C# Класс Flunet.CodeGeneration.AutomataNamespaceBuilder

Builds a CodeNamespace representing a IDeterministicAutomata{T} of MethodInfo.
Показать файл Открыть проект Примеры использования класса

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

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