The ProjectCodeGenerator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProjectCodeGenerator | Initializes a new instance of the ProjectCodeGenerator class |
Methods
Name | Description | |
---|---|---|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GenerateCode(String) |
Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp.
| |
GenerateCode(CodeSmithProject) |
Generates a CodeSmith Generator Project.
| |
GenerateCode(String, String) |
Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp and the .csp's file content.
| |
GenerateCodeAsync(String) |
Begin generating code asynchronous
| |
GenerateCodeAsync(CodeSmithProject) |
Generates a CodeSmith Generator Project.
| |
GenerateCodeAsync(String, String) |
Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp and the .csp's file content.
| |
GetCodeTemplateInfo | (Inherited from CodeGeneratorBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVariables | (Inherited from CodeGeneratorBase.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
OnGeneratorComplete | ||
OnGeneratorError(GeneratorErrorEventArgs) | (Inherited from CodeGeneratorBase.) | |
OnGeneratorError(String, Exception) | (Inherited from CodeGeneratorBase.) | |
OnGeneratorError(String, Boolean, Int32, String, Int32, Int32) | (Inherited from CodeGeneratorBase.) | |
OnOutputString(String) | (Inherited from CodeGeneratorBase.) | |
OnOutputString(MessageEventArgs) | (Inherited from CodeGeneratorBase.) | |
OnOutputString(String, array<Object>[]()[][]) | (Inherited from CodeGeneratorBase.) | |
OnPreOutputWritten | (Inherited from CodeGeneratorBase.) | |
OnProgress(GeneratorProgressEventArgs) | (Inherited from CodeGeneratorBase.) | |
OnProgress(Int32, Int32) | (Inherited from CodeGeneratorBase.) | |
OnStatusChanged(String) | (Inherited from CodeGeneratorBase.) | |
OnStatusChanged(MessageEventArgs) | (Inherited from CodeGeneratorBase.) | |
OutputCompilerErrors | (Inherited from CodeGeneratorBase.) | |
ReplaceVariables | (Inherited from CodeGeneratorBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteComment | (Inherited from CodeGeneratorBase.) | |
WriteHeader | (Inherited from CodeGeneratorBase.) |
Properties
Name | Description | |
---|---|---|
ContextData | ||
Debug | (Inherited from CodeGeneratorBase.) | |
IsGenerating |
Returns true while generating.
| |
KeepTempFiles | (Inherited from CodeGeneratorBase.) | |
Properties | (Inherited from CodeGeneratorBase.) | |
RegisteredOutputs | ||
RegisteredReferences | ||
Verbose | (Inherited from CodeGeneratorBase.) |
Events
Name | Description | |
---|---|---|
GenerateEnd | ||
GenerateStart | ||
GeneratorComplete | ||
GeneratorError | (Inherited from CodeGeneratorBase.) | |
OutputString | (Inherited from CodeGeneratorBase.) | |
PreOutputWritten | (Inherited from CodeGeneratorBase.) | |
Progress | (Inherited from CodeGeneratorBase.) | |
StatusChanged | (Inherited from CodeGeneratorBase.) |