Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Add extension method for getting environment name #100

Closed
rustd opened this issue Oct 14, 2014 · 2 comments
Closed

Add extension method for getting environment name #100

rustd opened this issue Oct 14, 2014 · 2 comments
Assignees
Milestone

Comments

@rustd
Copy link

rustd commented Oct 14, 2014

Proposed

if (env.IsEnvironment("Development"))

As it exists today

if (string.Equals(env.EnvironmentName, "Development", StringComparison.OrdinalIgnoreCase))
@rustd rustd added the bug label Oct 14, 2014
@rustd rustd added this to the 1.0.0-beta1 milestone Oct 14, 2014
@Eilon
Copy link
Member

Eilon commented Oct 20, 2014

Need to move to beta2.

@Praburaj
Copy link
Contributor

3b0d5fd

Praburaj pushed a commit that referenced this issue Mar 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants