Show / Hide Table of Contents

Class CodeGenerationUnit

A code generation unit.

Inheritance
System.Object
CodeGenerationUnit
Implements
ICodeGenerationUnit
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 Source

CodeGenerationUnit(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 Source

OutputName

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Text

Gets the text builder.

Declaration
public StringBuilder Text { get; }
Property Value
Type Description
System.Text.StringBuilder

The text builder.

Implements

ICodeGenerationUnit

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX