SourceLocationTracker.CalculateNewLocation(SourceLocation, String) 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.
public:
static Microsoft::AspNetCore::Razor::SourceLocation CalculateNewLocation(Microsoft::AspNetCore::Razor::SourceLocation lastPosition, System::String ^ newContent);
public static Microsoft.AspNetCore.Razor.SourceLocation CalculateNewLocation (Microsoft.AspNetCore.Razor.SourceLocation lastPosition, string newContent);
static member CalculateNewLocation : Microsoft.AspNetCore.Razor.SourceLocation * string -> Microsoft.AspNetCore.Razor.SourceLocation
Public Shared Function CalculateNewLocation (lastPosition As SourceLocation, newContent As String) As SourceLocation
Parameters
- lastPosition
- SourceLocation
- newContent
- String