CSharpCodeParser.AssertDirective Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Asserts a directive code.

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

Syntax

'Declaration
<ConditionalAttribute("DEBUG")> _
Protected Sub AssertDirective ( _
    directive As String _
)
'Usage
Dim directive As String 

Me.AssertDirective(directive)
[ConditionalAttribute("DEBUG")]
protected void AssertDirective(
    string directive
)
[ConditionalAttribute(L"DEBUG")]
protected:
void AssertDirective(
    String^ directive
)
[<ConditionalAttribute("DEBUG")>]
member AssertDirective : 
        directive:string -> unit
protected function AssertDirective(
    directive : String
)

Parameters

See Also

Reference

CSharpCodeParser Class

System.Web.Razor.Parser Namespace