public TResource GetResource <TResource>(ResourceLocator locator)
 {
     using (var stream = GetResourceStream(locator))
     {
         return(GetAdapter <TResource>().Deserialize(stream, locator));
     }
 }
 public Stream GetResourceStream(ResourceLocator locator)
 {
     return(_sourceAssembly.GetManifestResourceStream($"{_resourcesNamespacePrefix}.{locator.Filename}"));
 }