Share via


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
Public method 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.
Public method 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.
Public method 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.
Public method 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
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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
Public method 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).)
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 current instance. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member 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.
Public operatorStatic member 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
Public fieldStatic member 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.
Public fieldStatic member 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.
Public fieldStatic member 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.
Public fieldStatic member 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.
Public fieldStatic member 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.
Public fieldStatic member 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.
Public fieldStatic member 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.

See Also

Reference

System.Web.Razor.Generator Namespace