Table of Contents

Class InjectAttribute

Namespace
Concord
Assembly
Concord.Emit.dll

Marks a template method as an injection for a named target method.

[AttributeUsage(AttributeTargets.Method)]
public sealed class InjectAttribute : Attribute
Inheritance
InjectAttribute
Inherited Members

Constructors

InjectAttribute(string)

Initializes a new injection declaration.

public InjectAttribute(string method)

Parameters

method string

The target method name. Private names are validated by Concord tooling.

Properties

Method

Gets the target method name this injection attaches to.

public string Method { get; }

Property Value

string