Class CodeGenerationUnit
A code generation unit.
Inheritance
System.Object
CodeGenerationUnit
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Generation
Assembly: Kephas.CodeAnalysis.dll
Syntax
public class CodeGenerationUnit : ICodeGenerationUnit
Constructors
| Improve this Doc View SourceCodeGenerationUnit(StringBuilder)
Initializes a new instance of the CodeGenerationUnit class.
Declaration
public CodeGenerationUnit(StringBuilder text = null)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | text | The text builder (optional). |
Properties
| Improve this Doc View SourceOutputName
Gets or sets the name of the output.
Declaration
public string OutputName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the output. |
OutputPath
Gets or sets the full pathname of the output file.
Declaration
public string OutputPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The full pathname of the output file. |
Text
Gets the text builder.
Declaration
public StringBuilder Text { get; }
Property Value
Type | Description |
---|---|
System.Text.StringBuilder | The text builder. |