Deleted dotnet-tools.json (dotnet-ef config) and IIS publish profiles for .NET 7 and .NET 9 (IISProfileNet7Win64.pubxml, IISProfileNet9Win64.pubxml) to clean up unused deployment and tooling files.
12 lines
422 B
C#
12 lines
422 B
C#
namespace EnvelopeGenerator.GeneratorAPI.Models;
|
|
|
|
public class Cultures : List<Culture>
|
|
{
|
|
public IEnumerable<string> Languages => this.Select(c => c.Language);
|
|
|
|
public IEnumerable<string> FIClasses => this.Select(c => c.FIClass);
|
|
|
|
public Culture Default => this.First();
|
|
|
|
public Culture? this[string? language] => language is null ? null : this.Where(c => c.Language == language).FirstOrDefault();
|
|
} |