using System.Collections.Generic; using System.Collections.ObjectModel; namespace BriarQueen.Data.Identifiers { public enum PuzzleKey { AshwickOutskirtsGate, } public static class PuzzleIdentifiers { private static readonly IReadOnlyDictionary _allPuzzles = new ReadOnlyDictionary( new Dictionary { { PuzzleKey.AshwickOutskirtsGate, "CH1:Puzzle:AshwickOutskirtsGate" }, }); public static string Get(PuzzleKey key) { return _allPuzzles.TryGetValue(key, out var value) ? value : string.Empty; } public static IEnumerable GetAllPuzzleIDs() { return _allPuzzles.Values; } } }