IPageExecutionContext Interface¶
Methods¶
-
BeginContext
(System.Int32, System.Int32, System.Boolean)¶ Invoked at the start of a write operation.
Arguments: - position (System.Int32) – The absolute character position of the expression or text in the Razor file.
- length (System.Int32) – The character length of the expression or text in the Razor file.
- isLiteral (System.Boolean) – A flag that indicates if the operation is for a literal text and not for a language expression.
void BeginContext(int position, int length, bool isLiteral)
-
Microsoft.AspNet.PageExecutionInstrumentation.IPageExecutionContext.EndContext()
Invoked at the end of a write operation.
void EndContext()
-