using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Resources; namespace ScreenConnect; public abstract class ResourcesClientResourceManager : ClientResourceManager { protected override string FileExtension => ".resources"; protected override List> LoadResourcesFromStream(Stream stream) { using ResourceReader source = new ResourceReader(stream); return (from de in source.OfType() select Extensions.CreateKeyValuePair((string)de.Key, de.Value)).ToList(); } }