C# Класс ICSharpCode.NRefactory6.CSharp.TextPasteIndentEngine

Represents a decorator of an IStateMachineIndentEngine instance that provides logic for text paste events.
Наследование: IDocumentIndentEngine, ITextPasteHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : IDocumentIndentEngine
Push ( char ch ) : void
Reset ( ) : void
TextPasteIndentEngine ( IStateMachineIndentEngine decoratedEngine, OptionSet options ) : System

Creates a new TextPasteIndentEngine instance.

Update ( Microsoft.CodeAnalysis.Text.SourceText sourceText, int offset ) : void

Приватные методы

Метод Описание
ICloneable ( ) : object
ITextPasteHandler ( Microsoft.CodeAnalysis.Text.SourceText sourceText, TextSpan segment ) : byte[]
ITextPasteHandler ( Microsoft.CodeAnalysis.Text.SourceText sourceText, int offset, string text, byte copyData ) : string

Описание методов

Clone() публичный Метод

public Clone ( ) : IDocumentIndentEngine
Результат IDocumentIndentEngine

Push() публичный Метод

public Push ( char ch ) : void
ch char
Результат void

Reset() публичный Метод

public Reset ( ) : void
Результат void

TextPasteIndentEngine() публичный Метод

Creates a new TextPasteIndentEngine instance.
public TextPasteIndentEngine ( IStateMachineIndentEngine decoratedEngine, OptionSet options ) : System
decoratedEngine IStateMachineIndentEngine /// An instance of to which the /// logic for indentation will be delegated. ///
options OptionSet
Результат System

Update() публичный Метод

public Update ( Microsoft.CodeAnalysis.Text.SourceText sourceText, int offset ) : void
sourceText Microsoft.CodeAnalysis.Text.SourceText
offset int
Результат void