MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsTemplate­InvocationTemplate­Invocation
Open sandboxFocus

TemplateInvocation Constructor

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