AddImportCodeGenerator Class

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.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Generator.SpanCodeGenerator
    System.Web.Razor.Generator.AddImportCodeGenerator

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

Syntax

'Declaration
Public Class AddImportCodeGenerator _
    Inherits SpanCodeGenerator
'Usage
Dim instance As AddImportCodeGenerator
public class AddImportCodeGenerator : SpanCodeGenerator
public ref class AddImportCodeGenerator : public SpanCodeGenerator
type AddImportCodeGenerator =  
    class 
        inherit SpanCodeGenerator 
    end
public class AddImportCodeGenerator extends SpanCodeGenerator

The AddImportCodeGenerator type exposes the following members.

Constructors

  Name Description
Public method AddImportCodeGenerator 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.

Top

Properties

  Name Description
Public property 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.
Public property 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.

Top

Methods

  Name Description
Public method Equals 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. (Overrides SpanCodeGenerator.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GenerateCode 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. (Overrides SpanCodeGenerator.GenerateCode(Span, CodeGeneratorContext).)
Public method 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. (Overrides SpanCodeGenerator.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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. (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Razor.Generator Namespace