Brunet.Applications.RuntimeParameters.RuntimeParameters C# (CSharp) Method

RuntimeParameters() public method

public RuntimeParameters ( string app_name, string app_description ) : NDesk.Options
app_name string
app_description string
return NDesk.Options
    public RuntimeParameters(string app_name, string app_description)
    {
      AppName = app_name;
      AppDescription = app_description;
      Validator = new ConfigurationValidator();

      _options = new OptionSet() {
        { "n|NodeConfig=", "Path to a NodeConfig file.",
          v => _node_config_path = v },
        { "h|help", "Display this help and exit.",
          v => _help = v != null },
      };
    }