将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
|
||||
namespace XP.Common.Localization.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源键未找到异常 | Resource key not found exception
|
||||
/// </summary>
|
||||
public class ResourceKeyNotFoundException : LocalizationException
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源键 | Resource key
|
||||
/// </summary>
|
||||
public string ResourceKey { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数 | Constructor
|
||||
/// </summary>
|
||||
/// <param name="resourceKey">资源键 | Resource key</param>
|
||||
public ResourceKeyNotFoundException(string resourceKey)
|
||||
: base($"Resource key not found: {resourceKey}")
|
||||
{
|
||||
ResourceKey = resourceKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user