AddImportCodeGenerator Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the added import code generator for the razor.

public class AddImportCodeGenerator : System.Web.Razor.Generator.SpanCodeGenerator
type AddImportCodeGenerator = class
    inherit SpanCodeGenerator
Public Class AddImportCodeGenerator
Inherits SpanCodeGenerator
Inheritance
AddImportCodeGenerator

Constructors

AddImportCodeGenerator(String, Int32)

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.

Properties

Namespace

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the string namespace of the generator to add import code generator.

NamespaceKeywordLength

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the length of keyword namespace for the code generator.

Methods

Equals(Object)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether two object instances are equal.

GenerateCode(Span, CodeGeneratorContext)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates code with the specified parameters using the added import code generator.

GetHashCode()

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

ToString()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string that represents the current object.

Applies to