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
System.String TemplateName

The name of the called template method.

TemplateProvider TemplateProvider

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

System.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
System.String templateName
System.Object arguments

TemplateInvocation(String, ITemplateProvider, Object)

Declaration
public TemplateInvocation(string templateName, ITemplateProvider templateProvider, object arguments = null)
Parameters
Type Name Description
System.String templateName
ITemplateProvider templateProvider
System.Object arguments