.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Web.Razor.Generator
  3. GeneratedClassContext
  4. AllowTemplates
  • GeneratedClassContext
    • Default
    • DefaultExecuteMethodName
    • DefaultLayoutPropertyName
    • DefaultWriteAttributeMethodName
    • DefaultWriteAttributeToMethodName
    • DefaultWriteLiteralMethodName
    • DefaultWriteMethodName
    • GeneratedClassContext(String, String, String)
    • GeneratedClassContext(String, String, String, String, String, String)
    • GeneratedClassContext(String, String, String, String, String, String, String)
    • GeneratedClassContext(String, String, String, String, String, String, String, String, String)
    • AllowSections
    • AllowTemplates
    • BeginContextMethodName
    • DefineSectionMethodName
    • EndContextMethodName
    • ExecuteMethodName
    • LayoutPropertyName
    • ResolveUrlMethodName
    • SupportsInstrumentation
    • TemplateTypeName
    • WriteAttributeMethodName
    • WriteAttributeToMethodName
    • WriteLiteralMethodName
    • WriteLiteralToMethodName
    • WriteMethodName
    • WriteToMethodName
    • Equals(Object)
    • GetHashCode()
    • operator !=(GeneratedClassContext, GeneratedClassContext)
    • operator ==(GeneratedClassContext, GeneratedClassContext)
net481
namespace System.Web.Razor.Generator
{
    public struct GeneratedClassContext
    {
        public bool AllowTemplates { get; }
    }
}
.NET Framework 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net481
Assembly

System.Web.Razor , Version=3.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.AspNet.Razor.

Package Microsoft.AspNet.Razor (3.3.0) net45
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙