Table of Contents

IsLocalDevelopment Method

Definition

Namespace
Cuemon.Extensions.Hosting
Assemblies
Cuemon.Extensions.Hosting.dll
Source
src/Cuemon.Extensions.Hosting/HostEnvironmentExtensions.cs

IsLocalDevelopment(IHostEnvironment)

Determines whether the specified environment is equal to LocalDevelopment.

public static bool IsLocalDevelopment(this IHostEnvironment environment)

Parameters

environment IHostEnvironment

The IHostingEnvironment to extend.

Returns

bool

true if environment is LocalDevelopment; otherwise false