Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a method for setting the environment name #22

Closed
MrDave1999 opened this issue Feb 8, 2022 · 0 comments · Fixed by #23
Closed

Add a method for setting the environment name #22

MrDave1999 opened this issue Feb 8, 2022 · 0 comments · Fixed by #23
Labels
feature New feature or request
Milestone

Comments

@MrDave1999
Copy link
Owner

MrDave1999 commented Feb 8, 2022

Example:

new EnvLoader()
       .SetEnvironmentName("test")
       .LoadEnv();

As an additional note, if DOTNET_ENV is defined, the option SetEnvironmentName will have no effect.
Related to the issue #14.

@MrDave1999 MrDave1999 added the feature New feature or request label Feb 8, 2022
MrDave1999 added a commit that referenced this issue Feb 8, 2022
MrDave1999 added a commit that referenced this issue Feb 9, 2022
MrDave1999 added a commit that referenced this issue Feb 11, 2022
MrDave1999 added a commit that referenced this issue Feb 17, 2022
MrDave1999 added a commit that referenced this issue Feb 17, 2022
MrDave1999 added a commit that referenced this issue Feb 17, 2022
@MrDave1999 MrDave1999 added this to the 8.0.0 milestone Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant