RazorEngine
Provides a base implementation of a compiler service.
Defines the required contract for implementing a compiler service.
Builds a type name for the specified template type and model type.
The template type.
The string type name (including namespace).
Compiles the type defined in the specified type context.
The type context which defines the type to compile.
The compiled type.
Returns a set of assemblies that must be referenced by the compiled template.
The set of assemblies.
Gets or sets the set of code inspectors.
Gets or sets whether the compiler service is operating in debug mode.
Initialises a new instance of
The code language.
The markup parser factory.
Builds a type name for the specified template type and model type.
The template type.
The string type name (including namespace).
Compiles the type defined in the specified type context.
The type context which defines the type to compile.
The compiled type.
Creates a used for class generation.
The template base type.
The model type.
The class name.
An instance of .
Generates any required contructors for the specified type.
The set of constructors.
The code type declaration.
Gets the code compile unit used to compile a type.
The class name.
The template to compile.
The set of namespace imports.
The template type.
The model type.
A used to compile a type.
Gets the generator result.
The razor engine host.
The template.
The generator result.
Gets any required namespace imports.
The template type.
The requested set of namespace imports.
A set of namespace imports.
Returns a set of assemblies that must be referenced by the compiled template.
The set of assemblies.
Inspects the generated code compile unit.
The code compile unit.
Gets or sets the set of code inspectors.
Gets the code language.
Gets or sets whether the compiler service is operating in debug mode.
Gets the markup parser.
Manages creation of instances.
Sets the used to create compiler service instances.
The compiler service factory to use.
Gets the for the specfied language.
The code language.
The compiler service instance.
Gets the for the default .
The compiler service instance.
Provides service methods for compilation.
Determines if the specified type is an anonymous type.
The type to check.
True if the type is an anonymous type, otherwise false.
Determines if the specified type is a dynamic type.
The type to check.
True if the type is an anonymous type, otherwise false.
Determines if the specified type is a compiler generated iterator type.
The type to check.
True if the type is an iterator type, otherwise false.
Generates a random class name.
A new random class name.
Gets the public or protected constructors of the specified type.
The target type.
An enumerable of constructors.
Gets an enumerable of all assemblies loaded in the current domain.
An enumerable of loaded assemblies.
Defines a code parser that supports the C# syntax.
Initialises a new instance of .
Parses the inherits statement.
Parses the model statement.
Defines a direct compiler service for the C# syntax.
Provides a base implementation of a direct compiler service.
Initialises a new instance of .
The razor code language.
The code dom provider used to generate code.
The markup parser factory.
Creates the compile results for the specified .
The type context.
The compiler results.
Compiles the type defined in the specified type context.
The type context which defines the type to compile.
The compiled type.
Releases managed resourced used by this instance.
Releases managed resources used by this instance.
Are we explicily disposing of this instance?
Initialises a new instance of .
Specifies whether the strict mode parsing is enabled.
The markup parser factory to use.
Returns a set of assemblies that must be referenced by the compiled template.
The set of assemblies.
Defines a code generator that supports C# syntax.
Initializes a new instance of the class.
Name of the class.
Name of the root namespace.
Name of the source file.
The host.
Flag to specify that this generator is running in struct mode.
Visits an error generated through parsing.
The error that was generated.
Gets whether the code generator is running in strict mode.
Provides a razor code language that supports the C# language.
Initialises a new instance
Flag to determine whether strict mode is enabled.
Creates the code generator.
Name of the class.
Name of the root namespace.
Name of the source file.
The host.
An instance of .
Gets whether strict mode is enabled.
Provides a default implementation of a .
Defines the required contract for implementing a compiler service factory.
Creates a that supports the specified language.
The .
An instance of .
Creates a that supports the specified language.
The .
An instance of .
Defines an attribute that marks the presence of a dynamic model in a template.
Defines the required contract for implementing a code inspector.
Inspects the specified code unit.
The code unit.
The code namespace declaration.
The code type declaration.
The code method declaration for the Execute method.
Defines a dynamic object.
Gets the value of the specified member.
The current binder.
The member result.
True.
Gets or sets the model.
Defines the custom razor engine host.
Initialises a new instance of .
The code language.
The markup parser factory delegate.
Decorates the code parser.
The code parser.
The decorated parser.
Gets or sets the default template type.
Defines a type context that describes a template to compile.
Initialises a new instance of .
Gets the class name.
Gets or sets the model type.
Gets the set of namespace imports.
Gets or sets the template content.
Gets or sets the base template type.
Defines a code parser that supports the VB syntax.
Initialises a new instance of
Parses the inherits statement.
Parses the modeltype statement.
Defines a direct compiler service for the VB syntax.
Initialises a new instance of .
Specifies whether the strict mode parsing is enabled.
The markup parser to use.
Defines a code generator that supports VB syntax.
Initializes a new instance of the class.
Name of the class.
Name of the root namespace.
Name of the source file.
The host.
Flag to specify that this generator is running in struct mode.
Visits an error generated through parsing.
The error that was generated.
Gets whether the code generator is running in strict mode.
Provides a razor code language that supports the VB language.
Initialises a new instance
Flag to determine whether strict mode is enabled.
Creates the code generator.
Name of the class.
Name of the root namespace.
Name of the source file.
The host.
An instance of .
Gets whether strict mode is enabled.
Provides a default implementation of a template service configuration.
Defines the required contract for implementing template service configuration.
Gets the activator.
Gets the base template type.
Gets the code inspectors.
Gets the compiler service factory.
Gets whether the template service is operating in debug mode.
Gets the encoded string factory.
Gets the language.
Gets the namespaces.
Gets the template resolver.
Initialises a new instance of .
Gets or sets the activator.
Gets or sets the base template type.
Gets the set of code inspectors.
Gets the set of code inspectors.
Gets or sets the compiler service factory.
Gets whether the template service is operating in debug mode.
Gets or sets the encoded string factory.
Gets or sets the language.
Gets or sets the collection of namespaces.
Gets or sets the template resolver.
Provides a default implementation of a .
Defines the required contract for implementing a configuration builder.
Sets the activator.
The activator instance.
The current configuration builder.
Sets the activator.
The activator type.
The current configuration builder.
Sets the activator.
The activator delegate.
The current configuration builder.
Adds the specified code inspector.
The code inspector type.
The current configuration builder.
Adds the specified code inspector.
The code inspector.
The current configuration builder.
Sets the compiler service factory.
The compiler service factory.
The current configuration builder.
Sets the compiler service factory.
The compiler service factory type.
The current configuration builder.
Sets the encoded string factory.
The encoded string factory.
The current configuration builder.
Sets the encoded string factory.
The encoded string factory type.
The current configuration builder.
Includes the specified namespaces
The set of namespaces to include.
The current configuration builder.
Sets the default activator.
The current configuration builder.
Sets the default compiler service factory.
The current configuration builder.
Sets the default encoded string factory.
The current configuration builder.
Sets the code language.
The code language.
The current configuration builder.
Sets the encoding.
The encoding.
The current configuration builder.
Initialises a new instance of .
The default configuration that we build a new configuration from.
Sets the activator.
The activator instance.
The current configuration builder.
Sets the activator.
The activator type.
The current configuration builder.
Sets the activator.
The activator delegate.
The current configuration builder.
Adds the specified code inspector.
The code inspector type.
The current configuration builder.
Adds the specified code inspector.
The code inspector.
The current configuration builder.
Sets the compiler service factory.
The compiler service factory.
The current configuration builder.
Sets the compiler service factory.
The compiler service factory type.
The current configuration builder.
Sets the encoded string factory.
The encoded string factory.
The current configuration builder.
Sets the encoded string factory.
The encoded string factory type.
The current configuration builder.
Includes the specified namespaces
The set of namespaces to include.
The current configuration builder.
Sets the resolve used to locate unknown templates.
The resolve type.
The current configuration builder.
Sets the resolver used to locate unknown templates.
The resolver instance to use.
The current configuration builder.
Sets the resolver delegate used to locate unknown templates.
The resolver delegate to use.
The current configuration builder.
Sets the default activator.
The current configuration builder.
Sets the default compiler service factory.
The current configuration builder.
Sets the default encoded string factory.
The current configuration builder.
Sets the base template type.
The base template type.
The current configuration builder/.
Sets the code language.
The code language.
The current configuration builder.
Sets the encoding.
The encoding.
The current configuration builder.
Defines a fluent template service configuration
Initialises a new instance of .
The delegate used to create the configuration.
Gets or sets the activator.
Gets the base template type.
Gets the set of code inspectors.
Gets or sets the compiler service factory.
Gets whether the template service is operating in debug mode.
Gets or sets the encoded string factory.
Gets or sets the language.
Gets or sets the collection of namespaces.
Gets the resolver.
Defines the main configuration section for the RazorEngine.
Gets an instance of that represents the current configuration.
An instance of , or null if no configuration is specified.
Gets the activator type.
Gets the compiler service factory type.
Gets or sets the default language.
Gets the collection of namespaces.
Gets the template resolver type.
Gets the collection of template service configurations.
Defines a configuration of a namespace.
Gets the namespace.
Defines a collection of instances.
Creates a new for use with the collection.
The instance.
Gets a unique key for the specified element.
The configuration element.
The key for the element.
Defines a configuration of a template service.
Gets the base template type.
Gets whether the template service is in debug mode.
Gets the encoded string factory type.
Gets the language.
Gets the name of the template service.
Gets the collection of namespaces.
Defines a collection of instances.
Creates a new for use with the collection.
The instance.
Gets a unique key for the specified element.
The configuration element.
The key for the element.
Represents a template service configuration that supports the xml configuration mechanism.
Initialises a new instance of .
The name of the template service configuration.
Adds the namespaces from the specified collection.
The set of namespace configurations.
Gets an instance of the specified type.
The expected instance type.
The type.
The instance.
Gets the type with the specified name.
The type name.
Initialises the configuration.
The name of the template service configuration.
Initialises the configuration.
The core configuration.
The service configuration.
Sets the activator.
The activator type.
Sets the base template type.
The base template type.
Sets the compiler service factory.
The compiler service factory type.
Sets the encoded string factory.
Sets the template resolver.
The template resolver type.
Gets the activator.
Gets the base template type.
Gets the code inspectors.
Gets the compiler service factory.
Gets whether the template service is operating in debug mode.
Gets the encoded string factory.
Gets the language.
Gets the namespaces.
Gets the template resolver.
Defines the possible values for encoding.
Use html encoding.
Use raw text (no encoding)
Defines the possible supported code languages.
C# Language
Visual Basic Language
Provides quick access to template functions.
Compiles the specified template.
The string template.
The name of the template type in cache.
Compiles the specified template.
The string template.
The model type.
The name of the template type in cache.
Compiles the specified template.
The model type.
The string template.
The name of the template type in cache.
Creates an instance of from the specified string template.
The string template.
An instance of .
Creates an instance of from the specified string template.
The model type.
The string template.
The model instance.
An instance of .
Creates a set of templates from the specified string templates.
The set of templates to create instances for.
Flag to determine whether to create templates in parallel.
The enumerable set of template instances.
Creates a set of templates from the specified string templates and models.
The model type.
The set of templates to create instances for.
The set of models used to assign to templates.
Flag to determine whether to create templates in parallel.
The enumerable set of template instances.
Creates a that can be used to instantiate an instance of a template.
The string template.
An instance of .
Creates a that can be used to instantiate an instance of a template.
The string template.
The model type.
An instance of .
Crates a set of template types from the specfied string templates.
The set of templates to create instances for.
Flag to determine whether to create template types in parallel.
The set of instances.
Creates a set of template types from the specfied string templates.
The set of templates to create instances for.
The model type.
Flag to determine whether to create template types in parallel.
The set of instances.
Gets an instance of the template using the cached compiled type, or compiles the template type
if it does not exist in the cache.
The string template.
The name of the template type in the cache.
An instance of .
Gets an instance of the template using the cached compiled type, or compiles the template type
if it does not exist in the cache.
The model type.
The string template.
The model instance.
The name of the template type in the cache.
An instance of .
Gets the set of template instances for the specified string templates. Cached templates will be considered
and if they do not exist, new types will be created and instantiated.
The set of templates to create.
The set of cache names.
Flag to determine whether to get the templates in parallel.
The set of instances.
Gets the set of template instances for the specified string templates. Cached templates will be considered
and if they do not exist, new types will be created and instantiated.
The model type.
The set of templates to create.
The set of models.
The set of cache names.
Flag to determine whether to get the templates in parallel.
The set of instances.
Parses and returns the result of the specified string template.
The string template.
The string result of the template.
Parses and returns the result of the specified string template.
This method will provide a cache check to see if the compiled template type already exists and is valid.
The string template.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
The string template.
The model instance.
The string result of the template.
Parses and returns the result of the specified string template.
The model type.
The string template.
The model instance.
The string result of the template.
Parses and returns the result of the specified string template.
The model type.
The string template.
The model instance.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
The model type.
The string template.
The model instance.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
The string template.
The model instance.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
The string template.
The model instance.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses the template and merges with the many models provided.
The razor template.
The set of models (must contain at least one model).
Flag to determine whether parsing in parallel.
The set of parsed template results.
Parses the specified set of templates.
The set of string templates to parse.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the specified set of templates.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the specified set of templates.
The set of string templates to parse.
The set of cache names or NULL if no caching is desired for templates.
Individual elements in this set may be NULL if caching is not desired for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the specified set of templates.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of cache names or NULL if no caching is desired for templates.
Individual elements in this set may be NULL if caching is not desired for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the specified set of templates.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of initial ViewBag contents or NULL for an initially empty ViewBag for all templates.
Individual elements in this set may be NULL if an initially empty ViewBag is desired for a specific template.
The set of cache names or NULL if no caching is desired for templates.
Individual elements in this set may be NULL if caching is not desired for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the template and merges with the many models provided.
The model type.
The razor template.
The set of models (must contain at least one model).
Flag to determine whether parsing in parallel.
The set of parsed template results.
Parses the specified set of templates.
The model type.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the specified set of templates.
The model type.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of cache names or NULL if no caching is desired for templates.
Individual elements in this set may be NULL if caching is not desired for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Parses the specified set of templates.
The model type.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of initial ViewBag contents or NULL for an initially empty ViewBag for all templates.
Individual elements in this set may be NULL if an initially empty ViewBag is desired for a specific template.
The set of cache names or NULL if no caching is desired for templates.
Individual elements in this set may be NULL if caching is not desired for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Resolves the template with the specified name.
The name of the template type in cache.
The resolved template.
Resolves the template with the specified name.
The name of the template type in cache.
The model for the template.
The resolved template.
Resolves the template with the specified name.
The name of the template type in cache.
The model for the template.
The resolved template.
Runs the template with the specified name.
The name of the template type in cache.
The string result of the template.
Runs the template with the specified name.
The name of the template type in cache.
The model.
The string result of the template.
Runs the template with the specified name.
The name of the template type in cache.
The model.
The ViewBag contents or NULL for an initially empty ViewBag.
The string result of the template.
Runs the template with the specified name.
The model type.
The name of the template type in cache.
The model.
The string result of the template.
Runs the template with the specified name.
The model type.
The name of the template type in cache.
The model.
The ViewBag contents or NULL for an initially empty ViewBag.
The string result of the template.
Sets the template service.
The template service.
Gets the template service.
Defines a cached template item.
Initialises a new instance of .
The cached hash code.
The template type.
Gets the cached hash code of the template.
Gets the template type.
Provides a base implementation of a template with a model.
The model type.
Provides a base implementation of a template.
Defines the required contract for implementing a template.
Executes the compiled template.
Runs the template and returns the result.
The current execution context.
The merged result of the template.
Writes the specified object to the result.
The value to write.
Writes the specified string to the result.
The literal to write.
Sets the template service.
Initialises a new instance of .
Defines a section that can written out to a layout.
The name of the section.
The delegate used to write the section.
Includes the template with the specified name.
The name of the template type in cache.
The model or NULL if there is no model for the template.
The template writer helper.
Determines if the section with the specified name has been defined.
The section name.
Executes the compiled template.
Returns the specified string as a raw string. This will ensure it is not encoded.
The raw string to write.
An instance of .
Resolves the layout template.
The name of the layout template.
An instance of .
Runs the template and returns the result.
The current execution context.
The merged result of the template.
Renders the section with the specified name.
The name of the section.
Flag to specify whether the section is required.
The template writer helper.
Renders the body of the template.
The template writer helper.
Writes the specified object to the result.
The value to write.
Writes the specified template helper result.
The template writer helper.
Writes an attribute to the result.
The name of the attribute.
Writes an attribute to the specified .
The writer.
The name of the attribute to be written.
Writes the specified string to the result.
The literal to write.
Writes a string literal to the specified .
The writer.
The literal to be written.
Writes a literal to the result.
The writer.
The literal to be written.
Writes the specified object to the specified .
The writer.
The value to be written.
Writes the specfied template helper result to the specified writer.
The writer.
The template writer helper.
Gets or sets the layout template name.
Gets or sets the template service.
Gets the viewbag that allows sharing state between layout and child templates.
Gets the current writer.
Defines the required contract for implementing a template with a model.
The model type.
Gets the or sets the model.
Initialises a new instance of .
Includes the template with the specified name.
The name of the template type in cache.
The model or NULL if there is no model for the template.
The template writer helper.
Resolves the layout template.
The name of the layout template.
An instance of .
Determines whether this template has a dynamic model.
Gets or sets the model.
Provides a default implementation of an .
Defines the required contract for implementing an activator.
Creates an instance of the specifed template.
The instance context.
An instance of .
Creates an instance of the specifed template.
The instance context.
An instance of .
Provides a default implementation of an factory.
Defines the required contract for implementing an factory.
Creates the .
The instance.
Creates the .
The instance.
Defines an activator that supports delegated activation.
Initialises a new instance of .
The delegated used to create an instance of the template.
Creates an instance of the specifed template.
The instance context.
An instance of .
Gets the activator.
Provides an factory that supports delegated creation.
Initialises a new instance of .
The factory delegate.
Creates the .
The instance.
Provides an that supports delegated template resolution.
Defines the required contract for implementing a template resolver.
Resolves the template content with the specified name.
The name of the template to resolve.
The template content.
Initialises a new instance of .
The resolver delegate.
Resolves the template content with the specified name.
The name of the template to resolve.
The template content.
Defines a dynamic view bag.
Gets the set of dynamic member names.
An instance of .
Attempts to read a dynamic member from the object.
The binder.
The result instance.
True, always.
Attempts to set a value on the object.
The binder.
The value to set.
True, always.
Add a value to this instance of DynamicViewBag.
The property name through which this value can be get/set.
The value that will be assigned to this property name.
Adds values from the specified valueList to this instance of DynamicViewBag.
A list of objects. Each must have a public property of keyPropertyName.
The property name that will be retrieved for each object in the specified valueList
and used as the key (property name) for the ViewBag. This property must be of type string.
Adds values from the specified valueDictionary to this instance of DynamicViewBag.
A dictionary of objects. The Key of each item in the dictionary will be used
as the key (property name) for the ViewBag.
Adds values from the specified valueDictionary to this instance of DynamicViewBag.
A generic dictionary of {string, object} objects. The Key of each item in the
dictionary will be used as the key (property name) for the ViewBag.
This method was intentionally not overloaded from AddDictionaryValues due to an ambiguous
signature when the caller passes in a Dictionary<string, object> as the valueDictionary.
This is because the Dictionary<TK, TV>() class implements both IDictionary and IDictionary<TK, TV>.
A Dictionary<string, ???> (any other type than object) will resolve to AddDictionaryValues.
This is specifically for a generic List<string, object>, which does not resolve to
an IDictionary interface.
Defines a context for tracking template execution.
Creates a new instance of ExecuteContext with an empty ViewBag.
Creates a new instance of DynamicViewBag, setting initial values in the ViewBag.
The initial view bag data or NULL for an empty ViewBag.
Defines a section used in layouts.
The name of the section.
The delegate action used to write the section at a later stage in the template execution.
Gets the section delegate.
The name of the section.
The section delegate.
Pops the template writer helper off the stack.
The template writer helper.
Pushes the specified template writer helper onto the stack.
The template writer helper.
Gets the current writer.
Gets the viewbag that allows sharing state.
Defines contextual information for a template instance.
Initialises a new instance of .
The type loader.
The template type.
Gets the type loader.
Gets the template type.
Represents a default parallel query plan.
The uses the default
result. The degree of parallelism by default is Math.Min(ProcessorCount, 64)
.
The item type.
Defines the required contract for implementing a parallel query plan.
The item type.
Creates a parallel query for the specified source.
The source enumerable.
The parallel query.
Creates a parallel query for the specified source.
The source enumerable.
The parallel query.
Provides template parsing and compilation in an isolated application domain.
Defines the required contract for implementing a template service.
Adds a namespace that will be imported into the template.
The namespace to be imported.
Compiles the specified template.
The string template.
The model type.
The name of the template type in the cache.
Creates an instance of from the specified string template.
The string template.
If templateType is not NULL (precompiled template), this parameter may be NULL (unused).
The template type or NULL if the template type should be dynamically created.
If razorTemplate is not NULL, this parameter may be NULL (unused).
The model instance or NULL if no model exists.
An instance of .
Creates a set of templates from the specified string templates.
The set of templates to create or NULL if all template types are already created (see templateTypes).
If this parameter is NULL, the the templateTypes parameter may not be NULL.
Individual elements in this set may be NULL if the corresponding templateTypes[i] is not NULL (precompiled template).
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of template types or NULL to dynamically create template types for each template.
If this parameter is NULL, the the razorTemplates parameter may not be NULL.
Individual elements in this set may be NULL to dynamically create the template if the corresponding razorTemplates[i] is not NULL (dynamically compile template).
Flag to determine whether to create templates in parallel.
The enumerable set of template instances.
Creates a that can be used to instantiate an instance of a template.
The string template.
The model type or NULL if no model exists.
An instance of .
Creates a set of template types from the specfied string templates.
The set of templates to create instances for.
The set of model types or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
Flag to determine whether to create template types in parallel.
The set of instances.
Gets an instance of the template using the cached compiled type, or compiles the template type
if it does not exist in the cache.
The string template.
The model or NULL if there is no model for this template.
The name of the template type in the cache.
An instance of .
Gets the set of template instances for the specified string templates. Cached templates will be considered
and if they do not exist, new types will be created and instantiated.
The set of templates to create.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of cache names.
Flag to determine whether to get the templates in parallel.
The set of instances.
Returns whether or not a template by the specified name has been created already.
The name of the template type in cache.
Whether or not the template has been created.
Remove a template by the specified name from the cache.
The name of the template type in cache.
Whether or not the template has been removed.
Parses and returns the result of the specified string template.
The string template.
The model instance or NULL if no model exists.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
Type of the model. Used to find out the type of the model, if model is NULL
The string template.
The model instance or NULL if no model exists.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses the specified set of templates.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of initial ViewBag contents or NULL for an initially empty ViewBag for all templates.
Individual elements in this set may be NULL if an initially empty ViewBag is desired for a specific template.
The set of cache names or NULL if no caching is desired for templates.
Individual elements in this set may be NULL if caching is not desired for a specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Resolves the template with the specified name.
The name of the template type in cache.
The model for the template.
The resolved template.
Runs the template with the specified cacheName.
The name of the template in cache. The template must be in cache.
The model for the template or NULL if there is no model.
The initial ViewBag contents NULL for an empty ViewBag.
The string result of the template.
Runs the specified template.
The template to run.
The ViewBag contents or NULL for an initially empty ViewBag.
The string result of the template.
Gets the encoded string factory.
Initialises a new instance of
Initialises a new instance of
The code language.
Initialises a new instance of
The encoding.
Initialises a new instance of
The application domain factory.
Initialises a new instance of .
The delegate used to create an application domain.
Initialises a new instance of
The code language.
The encoding.
The application domain factory.
Initialises a new instance of .
The code language.
The delegate used to create an application domain.
Initialises a new instance of .
The code language.
The encoding.
The delegate used to create an application domain.
Initialises a new instance of .
The encoding.
The delegate used to create an application domain.
Adds a namespace that will be imported into the template.
The namespace to be imported.
Compiles the specified template.
The string template.
The model type.
The name of the template type in the cache.
Creates an application domain.
The application domain factory.
An instance of .
Creates an instance of from the specified string template.
The string template.
If templateType is not NULL, this parameter may be NULL (unused).
The template type or NULL if the template type should be dynamically created.
If razorTemplate is not NULL, this parameter may be NULL (unused).
The model instance or NULL if no model exists.
An instance of .
Creates a set of templates from the specified string templates and models.
The set of templates to create or NULL if all template types are already created (see templateTypes).
If this parameter is NULL, the the templateTypes parameter may not be NULL.
Individual elements in this set may be NULL if the corresponding templateTypes[i] is not NULL (precompiled template).
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of template types or NULL to dynamically create template types for each template.
If this parameter is NULL, the the razorTemplates parameter may not be NULL.
Individual elements in this set may be NULL to dynamically create the template if the corresponding razorTemplates[i] is not NULL (dynamically compile template).
Flag to determine whether to create templates in parallel.
The enumerable set of template instances.
Creates a that can be used to instantiate an instance of a template.
The string template.
The model type or NULL if no model exists.
An instance of .
Creates a set of template types from the specfied string templates.
The set of templates to create instances for.
The set of model types or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
Flag to determine whether to create template types in parallel.
The set of instances.
Releases resources used by this instance.
This method ensures the AppDomain is unloaded and any template assemblies are unloaded with it.
Flag to determine whether the instance is being disposed explicitly.
Releases resources used by this instance.
Gets an instance of the template using the cached compiled type, or compiles the template type
if it does not exist in the cache.
The string template.
The model or NULL if there is no model for this template.
The name of the template type in the cache.
An instance of .
Gets the set of template instances for the specified string templates. Cached templates will be considered
and if they do not exist, new types will be created and instantiated.
The set of templates to create.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of cache names.
Flag to determine whether to get the templates in parallel.
The set of instances.
Returns whether or not a template by the specified name has been created already.
The name of the template type in cache.
Whether or not the template has been created.
Remove a template by the specified name from the cache.
The name of the template type in cache.
Whether or not the template has been removed.
Parses and returns the result of the specified string template.
The string template.
The model instance or NULL if no model exists.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
The string template.
The model instance or NULL if no model exists.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses the specified set of templates.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of initial ViewBag contents or NULL for an initially empty ViewBag for all templates.
Individual elements in this set may be NULL if an initially empty ViewBag is desired for a specific template.
The set of cache names or NULL if no caching is desired for all templates.
Individual elements in this set may be NULL if caching is not desired for specific template.
Flag to determine whether parsing in templates.
The set of parsed template results.
Resolves the template with the specified name.
The name of the template type in cache.
The model or NULL if there is no model for the template.
The resolved template.
Runs the template with the specified cacheName.
The name of the template in cache. The template must be in cache.
The model for the template or NULL if there is no model.
The initial ViewBag contents NULL for an empty ViewBag.
The string result of the template.
Runs the template with the specified name.
The template to run.
The ViewBag contents or NULL for an initially empty ViewBag.
The string result of the template.
Gets the encoded string factory.
Allows base templates to define require template imports when
generating templates.
Initialises a new instance of .
The set of required namespace imports.
Gets the set of required namespace imports.
Defines an exception that occurs during compilation of the template.
Initialises a new instance of .
The set of compiler errors.
The source code that wasn't compiled.
The source template that wasn't compiled.
Initialises a new instance of from serialised data.
The serialisation info.
The streaming context.
Gets the object data for serialisation.
The serialisation info.
The streaming context.
Gets the set of compiler errors.
Gets the source code that wasn't compiled.
Gets the source template that wasn't compiled.
Provides factory methods for creating instances.
Initialises the type.
Creates an instance of a template service.
The language to use in this service.
The type of encoding to use in this service.
Defines a type loader.
Initialises a new instance of
The application domain.
The set of assemblies.
Creates an instance of the specified type.
The type to create.
An instance of the type.
Releases resources used by this instance.
Flag to determine whether this instance is being disposed of explicitly.
Releases resources used by this reference.
Gets the delegate used to create an instance of the template type.
This method will consider the cached constructor delegate before creating an instance of one.
The template type.
The delegate instance.
Gets the delegate used to create an instance of the template type.
The template type.
The delegate instance.
Resolves the assembly with the specified name.
The name of the assembly.
The assembly instance, or null.
Defines an exception that occurs during template parsing.
Initialises a new instance of .
The generated by the parser.
Initialises a new instance of from serialised data.
The serialisation info.
The streaming context.
Gets the object data for serialisation.
The serialisation info.
The streaming context.
Gets the column the parsing error occured.
Gets the line the parsing error occured.
Defines a template service.
Initialises a new instance of
The template service configuration.
Initialises a new instance of .
Initialises a new instance of
The code language.
the encoding.
Adds a namespace that will be imported into the template.
The namespace to be imported.
Compiles the specified template.
The string template.
The model type.
The name of the template type in the cache.
Creates a new for creating template instances.
The template type.
An instance of .
Creates an instance of from the specified string template.
The string template.
If templateType is not NULL, this parameter may be NULL (unused).
The template type or NULL if the template type should be dynamically created.
If razorTemplate is not NULL, this parameter may be NULL (unused).
The model instance or NULL if no model exists.
An instance of .
Creates a set of templates from the specified string templates and models.
The set of templates to create or NULL if all template types are already created (see templateTypes).
If this parameter is NULL, the the templateTypes parameter may not be NULL.
Individual elements in this set may be NULL if the corresponding templateTypes[i] is not NULL (precompiled template).
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of template types or NULL to dynamically create template types for each template.
If this parameter is NULL, the the razorTemplates parameter may not be NULL.
Individual elements in this set may be NULL to dynamically create the template if the corresponding razorTemplates[i] is not NULL (dynamically compile template).
Flag to determine whether to create templates in parallel.
The enumerable set of template instances.
Creates a that can be used to instantiate an instance of a template.
The string template.
The model type or NULL if no model exists.
An instance of .
Creates a set of template types from the specfied string templates.
The set of templates to create instances for.
The set of model types or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
Flag to determine whether to create template types in parallel.
The set of instances.
Releases managed resources used by this instance.
Releases managed resources used by this instance.
Are we explicitly disposing of this instance?
Gets an instance of a for a known encoding.
The encoding to get a factory for.
An instance of
Gets a parellel query plan used to configure a parallel query.
The query item type.
An instance of .
Gets an instance of the template using the cached compiled type, or compiles the template type
if it does not exist in the cache.
The string template.
The model instance or NULL if there is no model for this template.
The name of the template type in the cache.
An instance of .
Gets an instance of the template using the cached compiled type, or compiles the template type
if it does not exist in the cache.
Type of the model
The string template.
The model instance or NULL if there is no model for this template.
The name of the template type in the cache.
An instance of .
Gets the set of template instances for the specified string templates. Cached templates will be considered
and if they do not exist, new types will be created and instantiated.
The set of templates to create.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of cache names.
Flag to determine whether to get the templates in parallel.
The set of instances.
Parses and returns the result of the specified string template.
The string template.
The model instance or NULL if no model exists.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses and returns the result of the specified string template.
The string template.
The model instance or NULL if no model exists.
The ViewBag contents or NULL for an initially empty ViewBag.
The name of the template type in the cache or NULL if no caching is desired.
The string result of the template.
Parses the specified set of templates.
The set of string templates to parse.
The set of models or NULL if no models exist for all templates.
Individual elements in this set may be NULL if no model exists for a specific template.
The set of initial ViewBag contents or NULL for an initially empty ViewBag for all templates.
Individual elements in this set may be NULL if an initially empty ViewBag is desired for a specific template.
The set of cache names or NULL if no caching is desired for all templates.
Individual elements in this set may be NULL if caching is not desired for specific template.
Flag to determine whether parsing in parallel.
The set of parsed template results.
Returns whether or not a template by the specified name has been created already.
The name of the template type in cache.
Whether or not the template has been created.
Remove a template by the specified name from the cache.
The name of the template type in cache.
Whether or not the template has been removed.
Resolves the template with the specified name.
The name of the template type in cache.
The model or NULL if there is no model for the template.
The resolved template.
Runs the template with the specified cacheName.
The name of the template in cache. The template must be in cache.
The model for the template or NULL if there is no model.
The initial ViewBag contents NULL for an empty ViewBag.
The string result of the template.
Runs the specified template and returns the result.
The template to run.
The ViewBag contents or NULL for an initially empty ViewBag.
The string result of the template.
Sets the model for the template.
The model type.
The template instance.
The model instance.
Sets the model for the template.
This method uses reflection to set the model property. As we can't guaruntee that we know
what model type they will be using, we have to do the hard graft. The preference would be
to use the generic method instead.
The template instance.
The model instance.
Gets the encoded string factory.
Defines a template writer used for helper templates.
Initialises a new instance of .
The writer delegate used to write using the specified .
Executes the write delegate and returns the result of this .
The string result of the helper template.
Writes the helper result of the specified text writer.
The text writer to write the helper result to.
Represents a Html-encoded string.
Defines the required contract for implementing an encoded string.
Gets the encoded string.
The encoded string.
Initialises a new instance of
The raw string to be encoded.
Gets the encoded string.
The encoded string.
Gets the string representation of this instance.
The string representation of this instance.
Represents a factory that creates instances.
Defines the required contract for implementing a factory for building encoded strings.
Creates a instance for the specified raw string.
The raw string.
An instance of .
Creates a instance for the specified object instance.
The object instance.
An instance of .
Creates a instance for the specified raw string.
The raw string.
An instance of .
Creates a instance for the specified object instance.
The object instance.
An instance of .
Represents an unencoded string.
Initialises a new instance of
The value
Gets the encoded string.
The encoded string.
Gets the string representation of this instance.
The string representation of this instance.
Represents a factory that creates instances.
Creates a instance for the specified raw string.
Thevalue.
An instance of .
Creates a instance for the specified object instance.
The value.
An instance of .