Share via


SpanEditHandler.ApplyChange Method

Definition

Overloads

ApplyChange(Span, TextChange)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span.

ApplyChange(Span, TextChange, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span.

ApplyChange(Span, TextChange)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span.

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

Parameters

target
Span

The span to apply changes to.

change
TextChange

The change to apply.

Returns

The result of the apply operation.

Applies to

ApplyChange(Span, TextChange, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Applies the text change to the span.

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

Parameters

target
Span

The span to apply changes to.

change
TextChange

The change to apply.

force
Boolean

true to accept partial result; otherwise, false.

Returns

The result of the apply operation.

Applies to