Esempio n. 1
0
        internal void ExecuteVerb(string verb)
        {
            switch (verb)
            {
            case "releaseAll":
                ReleaseAllCommand.Execute();
                break;

            case "normalize":
                NormalizeCommand.Execute();
                break;

            case "applyClassifier":
                ApplyClassifierCommand.Execute();
                break;

            case "dumpClassifiers":
                DumpClassifiersCommand.Execute();
                break;

            case "validate":
                ValidateAndFixCommand.Execute();
                break;

            case "enableSnapshot":
                EnableSnapshotCommand.Execute();
                break;
            }
        }
Esempio n. 2
0
 public Options()
 {
     // Since we create this instance the parser will not overwrite it
     ReleaseAllCommand = new ReleaseAllCommand();
     NormalizeCommand  = new NormalizeCommand();
 }