Class EnvKeyAttribute
Represents the key of a .env file that is assigned to a property.
Inherited Members
Namespace: DotEnv.Core
Assembly: DotEnv.Core.dll
Syntax
public class EnvKeyAttribute : Attribute
Constructors
Name | Description |
---|---|
EnvKeyAttribute() | Initializes a new instance of the EnvKeyAttribute class. |
EnvKeyAttribute(String) | Initializes a new instance of the EnvKeyAttribute class with the name of the key. |
Properties
Name | Description |
---|---|
Name | Gets the name of the key the property is mapped to. |