Skip to content
Concord

Class InjectPropertyAttribute

Namespace
Concord
Assembly
Concord.Emit.dll

Marks a declaration property as an injected property declaration for a property on the patched target type.

[AttributeUsage(AttributeTargets.Property)]
public sealed class InjectPropertyAttribute : Attribute
Inheritance
InjectPropertyAttribute
Inherited Members

Constructors

InjectPropertyAttribute()

Initializes a declaration that resolves to a target property with the same name.

public InjectPropertyAttribute()

InjectPropertyAttribute(string)

Initializes a declaration that resolves to the named target property.

public InjectPropertyAttribute(string targetName)

Parameters

targetName string

The target property name.

Properties

TargetName

Gets the target member name, or null to use the declaration name.

public string? TargetName { get; }

Property Value

string