Exemplo n.º 1
0
 /// <inheritdoc/>
 public override bool DoesModelPassFilter(string filter) =>
 Gender.ToString().Contains(filter, StringComparison.OrdinalIgnoreCase) ||
 Name.Contains(filter, StringComparison.OrdinalIgnoreCase) ||
 Defence.ToString().Contains(filter) ||
 Evasion.ToString().Contains(filter) ||
 Effect.Contains(filter, StringComparison.OrdinalIgnoreCase) ||
 Obtained.Any(obtained => obtained.DoesModelPassFilter(filter));