public static bool LoadPackageResource(Assembly sourceAssembly, string resourcePath) { return(ThemeResolutionService.LoadPackageResource(new ThemeResolutionService.ResourceParams() { UserAssembly = sourceAssembly, ResourcePath = resourcePath }, true)); }
public static bool LoadPackageResource(string resourcePath) { return(ThemeResolutionService.LoadPackageResource(new ThemeResolutionService.ResourceParams() { CallingAssembly = Assembly.GetCallingAssembly(), ExecutingAssembly = Assembly.GetExecutingAssembly(), ResourcePath = resourcePath }, true)); }