.NET Client Documentation
5.2.2
Search Results for

    Show / Hide Table of Contents

    AddHazelcastCommandLine Method

    AddHazelcastCommandLine(IConfigurationBuilder, string[], IDictionary<string, string>)

    Adds an IConfigurationProvider that reads Hazelcast configuration values from the command line.

    Declaration
    public static IConfigurationBuilder AddHazelcastCommandLine(this IConfigurationBuilder configurationBuilder, string[] args, IDictionary<string, string> switchMappings = null)
    Parameters
    IConfigurationBuilder configurationBuilder

    The IConfigurationBuilder to add to.

    string[] args

    The command line args.

    IDictionary<string, string> switchMappings

    Command line switch mappings.

    Returns
    IConfigurationBuilder

    The IConfigurationBuilder.

    Remarks

    Adds support for `hazelcast.x.y` arguments that do not respect the standard `hazelcast:x:y` pattern.

    Does not add default support for command line arguments.

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