public static IAnalyzeCommand CreateCommand(AnalyzeType commandType, WorkingDirectory workingDirectory)
        {
            if (!Dictionary.ContainsKey(commandType))
            {
                throw new NotImplementedException();
            }

            return Dictionary[commandType](workingDirectory);
        }
Example #2
0
 public AnalysisService(WorkingDirectory directory)
 {
     this.directory = directory;
 }