예제 #1
0
 private string GetCrossStitchArgument(string name)
 {
     if (CrossStitchArguments.ContainsKey(name))
     {
         return(CrossStitchArguments[name]);
     }
     return(string.Empty);
 }
예제 #2
0
 private int GetIntegerArgument(string name, int defaultValue = 0)
 {
     if (CrossStitchArguments.ContainsKey(name))
     {
         return(int.Parse(CrossStitchArguments[name]));
     }
     return(defaultValue);
 }