public static IAnalyzeCommand CreateCommand(AnalyzeType commandType, WorkingDirectory workingDirectory) { if (!Dictionary.ContainsKey(commandType)) { throw new NotImplementedException(); } return Dictionary[commandType](workingDirectory); }
public AnalysisService(WorkingDirectory directory) { this.directory = directory; }