Partager via


AttributeBlockCodeGenerator Constructeur

Définition

Ce type/membre prend en charge l’infrastructure .NET Framework et n’est pas destiné à être utilisé directement à partir de votre code. Initialise une nouvelle instance de la AttributeBlockCodeGenerator classe .

public AttributeBlockCodeGenerator(string name, System.Web.Razor.Text.LocationTagged<string> prefix, System.Web.Razor.Text.LocationTagged<string> suffix);
new System.Web.Razor.Generator.AttributeBlockCodeGenerator : string * System.Web.Razor.Text.LocationTagged<string> * System.Web.Razor.Text.LocationTagged<string> -> System.Web.Razor.Generator.AttributeBlockCodeGenerator
Public Sub New (name As String, prefix As LocationTagged(Of String), suffix As LocationTagged(Of String))

Paramètres

name
String

Nom.

prefix
LocationTagged<String>

Chaîne du préfixe.

suffix
LocationTagged<String>

Chaîne du suffixe.

S’applique à