The CodeTemplateCompiler type exposes the following members.

Constructors

Methods

  NameDescription
Public methodCompile()()()()
Compiles the specified template and outputs an assembly to the output path.
Public methodCompile(Boolean)
Compiles the specified template and outputs an assembly to the output path.
Public methodCompile(String)
Compiles the specified template and outputs an assembly to the output path.
Public methodCompile(String, Boolean)
Compiles the specified template and outputs an assembly to the output path.
Public methodCompile(String, Boolean, Boolean)
Compiles the specified template and outputs an assembly to the output path.
Public methodCreateInstance
Creates an instance of the compiled template. You must compile the template first.
Public methodDispose()()()() (Inherited from DisposableBase.)
Protected methodDispose(Boolean) (Inherited from DisposableBase.)
Protected methodDisposeManagedResources (Inherited from DisposableBase.)
Protected methodDisposeUnmanagedResources (Inherited from DisposableBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Inherited from DisposableBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCodeTemplateInfo
Gets the code template information.
Public propertyCompiledAssembly
Provides access to the compiled assembly.
Public propertyCompileResult
Public propertyCompilerOutputWriter
Gets or sets the compiler output writer.
Public propertyDebug
Gets or sets a value indicating whether the template should be compiled in debug mode or not.
Public propertyErrors
Gets the errors.
Public propertyGeneratedAssemblySourceCode
Provides access to the generated source code.
Public propertyKeepTempFiles
Gets or sets a value indicating whether the temp files should be kept.
Public propertyLinePragmas
Gets or sets a value indicating whether line pragmas should be output in the compiled source code.
Public propertyNamespace
Namespace that the compiled template should be a member of.
Public propertyTypeName
Gets or sets the type name of the compiled template.

See Also