SpanEditHandler.ApplyChange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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