Show / Hide Table of Contents

Class CodeFormatter

A code formatter.

Inheritance
System.Object
CodeFormatter
Implements
ICodeFormatter
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 CodeFormatter : ICodeFormatter

Constructors

| Improve this Doc View Source

CodeFormatter()

Initializes a new instance of the CodeFormatter class.

Declaration
public CodeFormatter()

Properties

| Improve this Doc View Source

IndentUnits

Gets or sets the indent units.

Declaration
public int IndentUnits { get; set; }
Property Value
Type Description
System.Int32

The indent units.

| Improve this Doc View Source

IndentUnitSize

Gets or sets the size of the indent for one unit.

Declaration
public int IndentUnitSize { get; set; }
Property Value
Type Description
System.Int32

The size of the indent unit.

Implements

ICodeFormatter

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)
CodeFormatterExtensions.IncreaseIndent(ICodeFormatter)
CodeFormatterExtensions.DecreaseIndent(ICodeFormatter)
CodeFormatterExtensions.CurrentIndent(ICodeFormatter)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX