Exemple #1
0
 /// <summary>
 /// Tells if the current environment is mooncake
 /// </summary>
 public static bool IsMooncake()
 {
     return(DeploymentEnvironmentHelper.GetEnvironment()
            .Equals(DeploymentEnvironmentName.Mooncake.ToString(), StringComparison.OrdinalIgnoreCase));
 }
Exemple #2
0
 /// <summary>
 /// Tells if the current environment is public
 /// </summary>
 public static bool IsPublic()
 {
     return(DeploymentEnvironmentHelper.GetEnvironment()
            .Equals(DeploymentEnvironmentName.Production.ToString(), StringComparison.OrdinalIgnoreCase));
 }