C# Class ICSharpCode.NRefactory.CSharp.ConstructFixer

Afficher le fichier Open project: 0xd4d/NRefactory Class Usage Examples

Méthodes publiques

Méthode Description
ConstructFixer ( CSharpFormattingOptions options, ICSharpCode.NRefactory.CSharp.TextEditorOptions textEditorOptions ) : ICSharpCode.NRefactory.Editor
TryFix ( IDocument document, int offset, int &newOffset ) : bool

Private Methods

Méthode Description
GenerateBody ( AstNode node, BraceStyle braceStyle, bool addClosingBracket, int &newOffset ) : string
GetIndent ( AstNode node ) : string

Method Details

ConstructFixer() public méthode

public ConstructFixer ( CSharpFormattingOptions options, ICSharpCode.NRefactory.CSharp.TextEditorOptions textEditorOptions ) : ICSharpCode.NRefactory.Editor
options CSharpFormattingOptions
textEditorOptions ICSharpCode.NRefactory.CSharp.TextEditorOptions
Résultat ICSharpCode.NRefactory.Editor

TryFix() public méthode

public TryFix ( IDocument document, int offset, int &newOffset ) : bool
document IDocument
offset int
newOffset int
Résultat bool