Share via


AttributeBlockCodeGenerator Constructor

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

Initializes a new instance of the AttributeBlockCodeGenerator class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    prefix As LocationTagged(Of String), _
    suffix As LocationTagged(Of String) _
)
'Usage
Dim name As String 
Dim prefix As LocationTagged(Of String)
Dim suffix As LocationTagged(Of String)

Dim instance As New AttributeBlockCodeGenerator(name, prefix, _
    suffix)
public AttributeBlockCodeGenerator(
    string name,
    LocationTagged<string> prefix,
    LocationTagged<string> suffix
)
public:
AttributeBlockCodeGenerator(
    String^ name, 
    LocationTagged<String^>^ prefix, 
    LocationTagged<String^>^ suffix
)
new : 
        name:string * 
        prefix:LocationTagged<string> * 
        suffix:LocationTagged<string> -> AttributeBlockCodeGenerator
public function AttributeBlockCodeGenerator(
    name : String, 
    prefix : LocationTagged<String>, 
    suffix : LocationTagged<String>
)

Parameters

See Also

Reference

AttributeBlockCodeGenerator Class

System.Web.Razor.Generator Namespace