Share via


AddImportCodeGenerator(String, Int32) Constructor

Definition

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 AddImportCodeGenerator class.

public AddImportCodeGenerator (string ns, int namespaceKeywordLength);
new System.Web.Razor.Generator.AddImportCodeGenerator : string * int -> System.Web.Razor.Generator.AddImportCodeGenerator
Public Sub New (ns As String, namespaceKeywordLength As Integer)

Parameters

ns
String

The string namespace.

namespaceKeywordLength
Int32

The length of the keyword namespace.

Applies to