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 | |
---|---|---|
![]() |
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 | |
---|---|---|
![]() |
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
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).) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
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).) |
![]() |
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().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
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.