LiteralAttributeCodeGenerator Constructor (LocationTagged<String>, LocationTagged<String>)
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 LiteralAttributeCodeGenerator class.
Namespace: System.Web.Razor.Generator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Sub New ( _
prefix As LocationTagged(Of String), _
value As LocationTagged(Of String) _
)
'Usage
Dim prefix As LocationTagged(Of String)
Dim value As LocationTagged(Of String)
Dim instance As New LiteralAttributeCodeGenerator(prefix, _
value)
public LiteralAttributeCodeGenerator(
LocationTagged<string> prefix,
LocationTagged<string> value
)
public:
LiteralAttributeCodeGenerator(
LocationTagged<String^>^ prefix,
LocationTagged<String^>^ value
)
new :
prefix:LocationTagged<string> *
value:LocationTagged<string> -> LiteralAttributeCodeGenerator
public function LiteralAttributeCodeGenerator(
prefix : LocationTagged<String>,
value : LocationTagged<String>
)
Parameters
- prefix
Type: System.Web.Razor.Text.LocationTagged<String>
The prefix of the literal attribute.
- value
Type: System.Web.Razor.Text.LocationTagged<String>
The value of the literal attribute.
See Also
Reference
LiteralAttributeCodeGenerator Class