Beispiel #1
0
 protected string GetArg(Dictionary<string, string> args, Arg arg)
 {
     if (!ContainsArg(args, arg))
     {
         return null;
     }
     return args[arg.Key];
 }
Beispiel #2
0
 protected bool ContainsArg(Dictionary<string, string> args, Arg arg)
 {
     return args.ContainsKey(arg.Key);
 }