using System.Collections.Generic; using System.Linq; namespace ResourceString.Net.Logic.DomainObjects.Resx; internal record File { public File(IEnumerable resources) { Resources = new Seq( resources?.Where(o => o != null) ?? Enumerable.Empty() ); } public IEnumerable Resources { get; } }