Permalink
Browse files

Ostraneni nepouzivanych metod

  • Loading branch information...
1 parent 5e0c35f commit ad08bba1b0b4baed7217660baf650241944c01ed @babcca committed May 1, 2012
Showing with 0 additions and 22 deletions.
  1. +0 −22 OptionParser.cs
View
@@ -406,28 +406,6 @@ List<Option> GetParsedOptions(Token[] tokens)
return parsedOption;
}
-
-
-
- bool TokenExist(Option option, Token[] tokens, out int position)
- {
-
- //int count = tokens.Where(tok => tok is OptionToken && option.Switches.Contains(tok.Value)).Count();
- int pos = -1;
- bool found = false;
- foreach (Token token in tokens)
- {
- ++pos;
- if ((token is OptionToken) && (option.Switches.Contains(token.Value)))
- {
- found = true;
- break;
- }
- }
-
- position = pos;
- return found;
- }
#endregion

0 comments on commit ad08bba

Please sign in to comment.