Share via


SpanEditHandler.ApplyChange Method

Definition

Overloads

ApplyChange(Span, TextChange)
ApplyChange(Span, TextChange, Boolean)

ApplyChange(Span, TextChange)

public:
 virtual Microsoft::AspNetCore::Razor::Editor::EditResult ^ ApplyChange(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ target, Microsoft::AspNetCore::Razor::Text::TextChange change);
public virtual Microsoft.AspNetCore.Razor.Editor.EditResult ApplyChange (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span target, Microsoft.AspNetCore.Razor.Text.TextChange change);
abstract member ApplyChange : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span * Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.Editor.EditResult
override this.ApplyChange : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span * Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.Editor.EditResult
Public Overridable Function ApplyChange (target As Span, change As TextChange) As EditResult

Parameters

target
Span
change
TextChange

Returns

Applies to

ApplyChange(Span, TextChange, Boolean)

public:
 virtual Microsoft::AspNetCore::Razor::Editor::EditResult ^ ApplyChange(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Span ^ target, Microsoft::AspNetCore::Razor::Text::TextChange change, bool force);
public virtual Microsoft.AspNetCore.Razor.Editor.EditResult ApplyChange (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span target, Microsoft.AspNetCore.Razor.Text.TextChange change, bool force);
abstract member ApplyChange : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span * Microsoft.AspNetCore.Razor.Text.TextChange * bool -> Microsoft.AspNetCore.Razor.Editor.EditResult
override this.ApplyChange : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span * Microsoft.AspNetCore.Razor.Text.TextChange * bool -> Microsoft.AspNetCore.Razor.Editor.EditResult
Public Overridable Function ApplyChange (target As Span, change As TextChange, force As Boolean) As EditResult

Parameters

target
Span
change
TextChange
force
Boolean

Returns

Applies to