static void Main() { AllWords.GetInstance(); var lines = File.ReadAllText($@"{_directory}\ccImport.txt"); var useNewCode = true; var solvedPuzzle = (useNewCode ? new PuzzleSolver(PuzzleImporter.ConvertOldToNew(lines)) : new PuzzleSolver(lines)).SolveCodeCracker(); solvedPuzzle.CreateHtmlResults(_directory); solvedPuzzle.CreateTextFileResults(_directory); }
public Startup(IConfiguration configuration) { AllWords.GetInstance(); Configuration = configuration; }