Esempio n. 1
0
 public static T GetNamedArgument <T>(string parameterName, char?separator = null)
 {
     return((T)s_parameterService.GetCommandLineArgument(parameterName, typeof(T), separator));
 }
Esempio n. 2
0
 /// <summary>
 /// Provides access to a command-line argument switch.
 /// </summary>
 public static bool ArgumentSwitch(string name)
 {
     return(s_parameterService.GetCommandLineArgument <bool>(name));
 }