Show / Hide Table of Contents

Class CodeFormatterExtensions

A code formatter extensions.

Inheritance
System.Object
CodeFormatterExtensions
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 static class CodeFormatterExtensions

Methods

| Improve this Doc View Source

CurrentIndent(ICodeFormatter)

An ICodeFormatter extension method that gets the current indent.

Declaration
public static string CurrentIndent(this ICodeFormatter formatter)
Parameters
Type Name Description
ICodeFormatter formatter

The formatter to act on.

Returns
Type Description
System.String

The indent.

| Improve this Doc View Source

DecreaseIndent(ICodeFormatter)

An ICodeFormatter extension method that decrease indent.

Declaration
public static void DecreaseIndent(this ICodeFormatter formatter)
Parameters
Type Name Description
ICodeFormatter formatter

The formatter to act on.

| Improve this Doc View Source

IncreaseIndent(ICodeFormatter)

An ICodeFormatter extension method that increase indent.

Declaration
public static void IncreaseIndent(this ICodeFormatter formatter)
Parameters
Type Name Description
ICodeFormatter formatter

The formatter to act on.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX