Table of Contents

Interface ICodeFormatter

Namespace
Loehnert.Lisrt.Scripting.CodeFormatting
Assembly
Loehnert.Lisrt.Scripting.dll

Represents an interface for a code formatter.

public interface ICodeFormatter

Methods

CanFormat(IProjectItem)

Returns a value indicating whether this formatter can format this item.

bool CanFormat(IProjectItem projectItem)

Parameters

projectItem IProjectItem

Project item to format.

Returns

bool

A value indicating whether this formatter can format this item.

Format(IProjectItem)

Formats the project item.

void Format(IProjectItem projectItem)

Parameters

projectItem IProjectItem

Project item to format.