Hazelcast .NET
Search Results for

    Show / Hide Table of Contents

    AddHazelcast Method

    AddHazelcast(IConfigurationBuilder, String[], IEnumerable<KeyValuePair<String, String>>, String, String, String)

    Adds an IConfigurationProvider that reads Hazelcast configuration values from various sources.

    Declaration
    public static IConfigurationBuilder AddHazelcast(this IConfigurationBuilder configurationBuilder, string[] args, IEnumerable<KeyValuePair<string, string>> keyValues = null, string optionsFilePath = null, string optionsFileName = null, string environmentName = null)
    Parameters
    IConfigurationBuilder configurationBuilder

    The IConfigurationBuilder to add to.

    String[] args

    The command line args.

    IEnumerable<KeyValuePair<String, String>> keyValues

    The optional key-value configuration pairs.

    String optionsFilePath

    The optional path to the options file.

    String optionsFileName
    String environmentName

    An optional environment name.

    Returns
    IConfigurationBuilder

    The IConfigurationBuilder.

    Remarks

    Adds support for hazelcast-specific sources. Does not add default support for other sources.

    If environmentName is missing, the environment name is determined using the DOTNET_ENVIRONMENT and ASPNETCORE_ENVIRONMENT environment variables. If not specified, the environment name is Production.

    In This Article
    Back to top Copyright © 2010-2021 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.