private static string[] GetArgs(EvolutionTypeArgumentType type) { return(type switch { EvolutionTypeArgumentType.NoArg => None, EvolutionTypeArgumentType.Level => Levels, EvolutionTypeArgumentType.Items => items, EvolutionTypeArgumentType.Moves => movelist, EvolutionTypeArgumentType.Species => species, EvolutionTypeArgumentType.Stat => Stats, EvolutionTypeArgumentType.Type => types, EvolutionTypeArgumentType.Version => Stats, _ => throw new ArgumentOutOfRangeException(nameof(type), type, null) });
private string[] GetArgs(EvolutionTypeArgumentType type) { switch (type) { case EvolutionTypeArgumentType.NoArg: return(None); case EvolutionTypeArgumentType.Level: return(Levels); case EvolutionTypeArgumentType.Items: return(items); case EvolutionTypeArgumentType.Moves: return(movelist); case EvolutionTypeArgumentType.Species: return(species); case EvolutionTypeArgumentType.Stat: return(Stats); case EvolutionTypeArgumentType.Type: return(types); case EvolutionTypeArgumentType.Version: return(Stats); default: throw new ArgumentOutOfRangeException(nameof(type), type, null); } }