C# Class FlatRedBall.Glue.Projects.CodeProjectHelper

Datei anzeigen Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
AddFileToCodeProject ( ProjectBase project, string fileToAddAbsolute ) : bool
AddFileToCodeProjectIfNotAlreadyAdded ( ProjectBase project, string fileToAddAbsolute ) : bool

Adds the argument fileToAddAbsolute to the argument projectBase. This function does not save the project nor does it modify synced projects.

CreateAndAddPartialCodeFile ( string generatedFileName, bool saveFile ) : void

Method Details

AddFileToCodeProject() public method

public AddFileToCodeProject ( ProjectBase project, string fileToAddAbsolute ) : bool
project ProjectBase
fileToAddAbsolute string
return bool

AddFileToCodeProjectIfNotAlreadyAdded() public method

Adds the argument fileToAddAbsolute to the argument projectBase. This function does not save the project nor does it modify synced projects.
public AddFileToCodeProjectIfNotAlreadyAdded ( ProjectBase project, string fileToAddAbsolute ) : bool
project ProjectBase The project to add the file to.
fileToAddAbsolute string The file to add.
return bool

CreateAndAddPartialCodeFile() public method

public CreateAndAddPartialCodeFile ( string generatedFileName, bool saveFile ) : void
generatedFileName string
saveFile bool
return void