SpanEditHandler.ApplyChange 方法

定义

重载

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

参数

target
Span
change
TextChange

返回

适用于

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

参数

target
Span
change
TextChange
force
Boolean

返回

适用于