CSharpCodeParser.SessionStateTypeDirective Method

Indicates the directive for session state type.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected void SessionStateTypeDirective(
	string noValueError,
	Func<string, string, SpanCodeGenerator> createCodeGenerator
)

Parameters

noValueError
Type: System.String
The no value error.
createCodeGenerator
Type: System.Func<String, String, SpanCodeGenerator>
The create code generator.
Show: