C# Class greenapple.general.ClassGeneral

Datei anzeigen Open project: mistaguy/greenapple Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

closeClassBrace() public method

This function just closes the class being created
public closeClassBrace ( ) : string
return string

createProjectSpace() public method

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
return bool

getNameSpaces() public method

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
return string