WithEnvironment Method
WithEnvironment(String)
Sets the environment name to use when building the options.
Declaration
public HazelcastOptionsBuilder WithEnvironment(string environmentName)
Parameters
String | environmentName | The environment name. |
Returns
HazelcastOptionsBuilder | This options builder. |
Remarks
By default, when not provided, the name is determined the standard .NET way,
i.e. from the DOTNET_ENVIRONMENT
and ASPNETCORE_ENVIRONMENT
variables and,
if not specified, defaults to "Production".