using System;
using System.Runtime.InteropServices;

using Windows.ApplicationModel.Resources;

namespace WinPrint.Helpers
{
    internal static class ResourceExtensions
    {
        private static ResourceLoader _resLoader = new ResourceLoader();

        public static string GetLocalized(this string resourceKey)
        {
            return _resLoader.GetString(resourceKey);
        }
    }
}
