C# Класс greenapple.general.ClassGeneral

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

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

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

This function just closes the class being created

createProjectSpace ( string projectName ) : bool

This function creates the name space of the class being created

the string returned is the namespace of the class being created

getNameSpaces ( string suggestedNameSpace, string className, string projectName ) : string

This is where all the names that will be used in the class is includeded

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

Метод Описание
genenerateCSProjectFile ( System.Guid projectGuid, string projectName ) : void

Creates VC# project settings

generateAppConfigFile ( string projectName ) : void

This class creates the app.config file for the project

generateAssembleyInfo ( string projectName ) : void
generateProgramCSClass ( string projectName ) : void
generateResourceDesignerClass ( string projectName ) : void
generateResourceX ( string projectName ) : void
generateSettings ( string projectName ) : void
generateSettingsDesigner ( string projectName ) : void
generateSolutionFile ( string projectName ) : System.Guid

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

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

This function just closes the class being created
public closeClassBrace ( ) : string
Результат string

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

This function creates the name space of the class being created
the string returned is the namespace of the class being created
public createProjectSpace ( string projectName ) : bool
projectName string Name of the project being created
Результат bool

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

This is where all the names that will be used in the class is includeded
public getNameSpaces ( string suggestedNameSpace, string className, string projectName ) : string
suggestedNameSpace string the suggested name space of the class being generated.The name should be in the format '.name'
className string name of the class
projectName string Project name of the application that one is trying to generateProjectProperty
Результат string