CodeGeneratorContext.AddContextCall(Span, String, Boolean) 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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a code statement for a context call on the specified method.
public void AddContextCall(System.Web.Razor.Parser.SyntaxTree.Span contentSpan, string methodName, bool isLiteral);
member this.AddContextCall : System.Web.Razor.Parser.SyntaxTree.Span * string * bool -> unit
Public Sub AddContextCall (contentSpan As Span, methodName As String, isLiteral As Boolean)
Parameters
- contentSpan
- Span
The content span.
- methodName
- String
The name of the method to invoke a context call.
- isLiteral
- Boolean
true to specify that the method parameter is literal; otherwise, false.