GeneratedClassContext Structure
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a generated class context.
Namespace: System.Web.Razor.Generator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Structure GeneratedClassContext
'Usage
Dim instance As GeneratedClassContext
public struct GeneratedClassContext
public value class GeneratedClassContext
[<SealedAttribute>]
type GeneratedClassContext = struct end
JScript suports the use of structures, but not the declaration of new ones.
The GeneratedClassContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
GeneratedClassContext(String, String, String) | 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 GeneratedClassContext class. |
![]() |
GeneratedClassContext(String, String, String, String, String, String) | 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 GeneratedClassContext class. |
![]() |
GeneratedClassContext(String, String, String, String, String, String, String) | 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 GeneratedClassContext class. |
![]() |
GeneratedClassContext(String, String, String, String, String, String, String, String, String) | 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 GeneratedClassContext class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AllowSections | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the context allows sections. |
![]() |
AllowTemplates | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the context allows templates. |
![]() |
BeginContextMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method before the generated context. |
![]() |
DefineSectionMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method that defines the section of the context. |
![]() |
EndContextMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method after the generated context. |
![]() |
ExecuteMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method that will be invoked on the context. |
![]() |
LayoutPropertyName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the property name for the layout. |
![]() |
ResolveUrlMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method that resolves a Url for the context. |
![]() |
SupportsInstrumentation | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the generated class supports instrumentation. |
![]() |
TemplateTypeName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the type name for the template. |
![]() |
WriteAttributeMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method that writes an attribute. |
![]() |
WriteAttributeToMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method where to write an attribute. |
![]() |
WriteLiteralMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method where to write literal for the context. |
![]() |
WriteLiteralToMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method where to write literal for the context. |
![]() |
WriteMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method that will write on the context. |
![]() |
WriteToMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the method that will write on the context. |
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 the specified object is equal to the current object. (Overrides ValueType.Equals(Object).) |
![]() |
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 current instance. (Overrides ValueType.GetHashCode().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two GeneratedClassContext object are equal. |
![]() ![]() |
Inequality | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two GeneratedClassContext object are not equal. |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
Default | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default generated context. |
![]() ![]() |
DefaultExecuteMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default name of the execute method. |
![]() ![]() |
DefaultLayoutPropertyName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default name of the layout property. |
![]() ![]() |
DefaultWriteAttributeMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default name of the write attribute method. |
![]() ![]() |
DefaultWriteAttributeToMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default name of the write to attribute to method. |
![]() ![]() |
DefaultWriteLiteralMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Specifies the default name of the write literal method. |
![]() ![]() |
DefaultWriteMethodName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Specifies the default name of the write method. |
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.