Table of Contents

Class AliasAttribute

Namespace
Obsidian.API.Plugins
Assembly
Obsidian.API.dll

Specifies the property/field name that is used for dependency injection.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public class AliasAttribute : Attribute
Inheritance
AliasAttribute
Inherited Members

Constructors

AliasAttribute(string)

Initializes a new instance of AliasAttribute with the specified identifier.

public AliasAttribute(string identifier)

Parameters

identifier string

Name that is used for dependency injection.

Properties

Identifier

Name that is used for dependency injection.

public string Identifier { get; }

Property Value

string