Files
VDownload/VDownload.Core/VDownload.Core.Strings/StringResource.cs
2024-03-14 18:58:05 +01:00

38 lines
657 B
C#

using Microsoft.Windows.ApplicationModel.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Core.Strings
{
public class StringResource
{
#region FIELDS
protected ResourceLoader _resourceLoader;
#endregion
#region CONSTRUCTORS
internal StringResource(ResourceLoader resourceLoader)
{
_resourceLoader = resourceLoader;
}
#endregion
#region PUBLIC METHODS
public string Get(string key) => _resourceLoader.GetString(key);
#endregion
}
}