The ProjectCodeGenerator type exposes the following members.

Constructors

  NameDescription
Public methodProjectCodeGenerator
Initializes a new instance of the ProjectCodeGenerator class

Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateCode(String)
Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp.
Public methodGenerateCode(CodeSmithProject)
Generates a CodeSmith Generator Project.
Public methodGenerateCode(String, String)
Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp and the .csp's file content.
Public methodGenerateCodeAsync(String)
Begin generating code asynchronous
Public methodGenerateCodeAsync(CodeSmithProject)
Generates a CodeSmith Generator Project.
Public methodGenerateCodeAsync(String, String)
Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp and the .csp's file content.
Protected methodGetCodeTemplateInfo (Inherited from CodeGeneratorBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetVariables (Inherited from CodeGeneratorBase.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnGeneratorComplete
Protected methodOnGeneratorError(GeneratorErrorEventArgs) (Inherited from CodeGeneratorBase.)
Protected methodOnGeneratorError(String, Exception) (Inherited from CodeGeneratorBase.)
Protected methodOnGeneratorError(String, Boolean, Int32, String, Int32, Int32) (Inherited from CodeGeneratorBase.)
Protected methodOnOutputString(String) (Inherited from CodeGeneratorBase.)
Protected methodOnOutputString(MessageEventArgs) (Inherited from CodeGeneratorBase.)
Protected methodOnOutputString(String, array<Object>[]()[][]) (Inherited from CodeGeneratorBase.)
Protected methodOnPreOutputWritten (Inherited from CodeGeneratorBase.)
Protected methodOnProgress(GeneratorProgressEventArgs) (Inherited from CodeGeneratorBase.)
Protected methodOnProgress(Int32, Int32) (Inherited from CodeGeneratorBase.)
Protected methodOnStatusChanged(String) (Inherited from CodeGeneratorBase.)
Protected methodOnStatusChanged(MessageEventArgs) (Inherited from CodeGeneratorBase.)
Protected methodOutputCompilerErrors (Inherited from CodeGeneratorBase.)
Protected methodReplaceVariables (Inherited from CodeGeneratorBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodWriteComment (Inherited from CodeGeneratorBase.)
Protected methodWriteHeader (Inherited from CodeGeneratorBase.)

Properties

  NameDescription
Public propertyContextData
Public propertyDebug (Inherited from CodeGeneratorBase.)
Public propertyStatic memberIsGenerating
Returns true while generating.
Public propertyKeepTempFiles (Inherited from CodeGeneratorBase.)
Public propertyProperties (Inherited from CodeGeneratorBase.)
Public propertyRegisteredOutputs
Public propertyRegisteredReferences
Public propertyVerbose (Inherited from CodeGeneratorBase.)

Events

See Also