public static ContainsArgument ( string argument ) : bool | ||
argument | string | |
return | bool |
public static bool ContainsArgument(string argument)
{
if (_argumentMap.ContainsKey(argument))
return true;
else
return false;
}
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(); } }