PowerToys/Wox.Core/Resource/Resource.cs

16 lines
368 B
C#
Raw Normal View History

using System.IO;
using System.Windows;
using Wox.Infrastructure;
namespace Wox.Core.UI
{
public abstract class Resource
{
public string DirectoryName { get; protected set; }
protected string DirectoryPath => Path.Combine(WoxDirectroy.Executable, DirectoryName);
public abstract ResourceDictionary GetResourceDictionary();
}
}