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 |
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.