Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Conceptual documentation

Commented examples

API documentation

Aspect API

Metalama.​Framework.​Advising

Metalama.​Framework.​Aspects

Metalama.​Framework.​Code

Metalama.​Framework.​Code.​Collections

Metalama.​Framework.​Code.​Comparers

Metalama.​Framework.​Code.​Declaration­Builders

Metalama.​Framework.​Code.​Invokers

Metalama.​Framework.​Code.​Syntax­Builders

Metalama.​Framework.​Code.​Types

Metalama.​Framework.​Diagnostics

Metalama.​Framework.​Eligibility

Metalama.​Framework.​Fabrics

Metalama.​Framework.​Metrics

Metalama.​Framework.​Options

Metalama.​Framework.​Project

Metalama.​Framework.​Run­Time

Metalama.​Framework.​Serialization

Metalama.​Framework.​Services

Metalama.​Framework.​Utilities

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Class TemplateInvocation

Represents call to a template method.

Inheritance
TemplateInvocation
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed record TemplateInvocation : IEquatable<TemplateInvocation>

Constructors

Name Description
TemplateInvocation(string, ITemplateProvider, object?)
TemplateInvocation(string, TemplateProvider, object?)

Represents call to a template method.

TemplateInvocation(string, object?)

Properties

Name Description
Arguments

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

TemplateName

The name of the called template method.

TemplateProvider

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

Methods

Name Description
Deconstruct(out string, out TemplateProvider, out object?)
Equals(TemplateInvocation?)
Equals(object?)
GetHashCode()
ToString()

Operators

Name Description
operator ==(TemplateInvocation?, TemplateInvocation?)
operator !=(TemplateInvocation?, TemplateInvocation?)

Extension Methods