hMailServer.Shared.CommandLineParser.ContainsArgument C# (CSharp) Méthode

ContainsArgument() public static méthode

public static ContainsArgument ( string argument ) : bool
argument string
Résultat bool
        public static bool ContainsArgument(string argument)
        {
            if (_argumentMap.ContainsKey(argument))
            return true;
             else
            return false;
        }

Usage Example

Exemple #1
0
        public ucWizard()
        {
            InitializeComponent();

            _pages       = new List <UserControl>();
            _state       = new Dictionary <string, string>();
            _currentPage = 0;

            // Check if we should run the wizard in silent mode...
            if (CommandLineParser.ContainsArgument("/silent"))
            {
                _state = CommandLineParser.GetArguments();
            }
        }
All Usage Examples Of hMailServer.Shared.CommandLineParser::ContainsArgument