PowerToys/Wox.Core/Resource/Resource.cs

16 lines
391 B
C#
Raw Normal View History

using System.IO;
using System.Windows;
using Wox.Infrastructure;
namespace Wox.Core.Resource
{
public abstract class Resource
{
public string DirectoryName { get; protected set; }
2016-05-19 02:38:43 +08:00
protected string DirectoryPath => Path.Combine(Infrastructure.Constant.ProgramDirectory, DirectoryName);
public abstract ResourceDictionary GetResourceDictionary();
}
}