CSharpCodeParser.SessionStateTypeDirective Method
Indicates the directive for session state type.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Sub SessionStateTypeDirective ( _
noValueError As String, _
createCodeGenerator As Func(Of String, String, SpanCodeGenerator) _
)
'Usage
Dim noValueError As String
Dim createCodeGenerator As Func(Of String, String, SpanCodeGenerator)
Me.SessionStateTypeDirective(noValueError, _
createCodeGenerator)
protected void SessionStateTypeDirective(
string noValueError,
Func<string, string, SpanCodeGenerator> createCodeGenerator
)
protected:
void SessionStateTypeDirective(
String^ noValueError,
Func<String^, String^, SpanCodeGenerator^>^ createCodeGenerator
)
member SessionStateTypeDirective :
noValueError:string *
createCodeGenerator:Func<string, string, SpanCodeGenerator> -> unit
protected function SessionStateTypeDirective(
noValueError : String,
createCodeGenerator : Func<String, String, SpanCodeGenerator>
)
Parameters
- noValueError
Type: System.String
The no value error.
- createCodeGenerator
Type: System.Func<String, String, SpanCodeGenerator>
The create code generator.