Files
VDownload/VDownload.Core/VDownload.Core.Strings/StringResource.cs

42 lines
700 B
C#
Raw Normal View History

2024-03-15 12:54:21 +01:00
using Windows.ApplicationModel.Resources;
2024-03-14 18:58:05 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2024-03-15 12:54:21 +01:00
using System.IO;
2024-03-14 18:58:05 +01:00
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
2024-03-15 12:54:21 +01:00
public string Get(string key)
{
return _resourceLoader.GetString(key);
}
2024-03-14 18:58:05 +01:00
#endregion
}
}