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
methodstringThe 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; }