Open sandboxFocus

Constructor TemplateInvocation

TemplateInvocation(string, TemplateProvider, object?)

Represents call to a template method.

Declaration
public TemplateInvocation(string TemplateName, TemplateProvider TemplateProvider, object? Arguments = null)
Parameters
Type Name Description
string TemplateName

The name of the called template method.

TemplateProvider TemplateProvider

An optional TemplateProvider, or default if the current template provider should be used.

object Arguments

Compile-time template arguments that will be passed to the template.

TemplateInvocation(string, object?)

Declaration
public TemplateInvocation(string templateName, object? arguments = null)
Parameters
Type Name Description
string templateName
object arguments

TemplateInvocation(string, ITemplateProvider, object?)

Declaration
public TemplateInvocation(string templateName, ITemplateProvider templateProvider, object? arguments = null)
Parameters
Type Name Description
string templateName
ITemplateProvider templateProvider
object arguments