Share via


SpanEditHandler.CanAcceptChange(Span, TextChange) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the span can accept the specified change.

protected virtual System.Web.Razor.PartialParseResult CanAcceptChange(System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange normalizedChange);
abstract member CanAcceptChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.PartialParseResult
override this.CanAcceptChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.PartialParseResult
Protected Overridable Function CanAcceptChange (target As Span, normalizedChange As TextChange) As PartialParseResult

Parameters

target
Span

The span to check.

normalizedChange
TextChange

The change to apply.

Returns

true if the span can accept the specified change; otherwise, false.

Applies to