mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
VPet.Solution 修复bug
This commit is contained in:
parent
83d902e635
commit
e9f00b2f7a
@ -92,7 +92,7 @@ public static class ReflectionUtils
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
property.IsDefined(typeof(ReflectionPropertyIgnoreAttribute))
|
||||
property.IsDefined(typeof(ReflectionPropertyAttribute))
|
||||
&& property.IsDefined(typeof(ReflectionPropertyConverterAttribute)) is false
|
||||
)
|
||||
continue;
|
||||
@ -229,10 +229,7 @@ public class ReflectionPropertyConverterAttribute : Attribute
|
||||
/// 反射属性忽视
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public class ReflectionPropertyIgnoreAttribute : Attribute
|
||||
{
|
||||
public ReflectionPropertyIgnoreAttribute() { }
|
||||
}
|
||||
public class ReflectionPropertyIgnoreAttribute : Attribute { }
|
||||
|
||||
/// <summary>
|
||||
/// 反射设置
|
||||
|
@ -173,7 +173,7 @@ public class SettingWindowVM : ObservableClass<SettingWindowVM>
|
||||
{
|
||||
if (
|
||||
MessageBox.Show(
|
||||
"设置载入失败, 是否强制载入并重置\n[是]: 载入并重置\t[否]: 取消载入\n名称: {0}\n路径: {1}\n{2}".Translate(
|
||||
"设置载入失败, 是否强制载入并重置\n[是]: 载入并重置\t[否]: 取消载入\n名称: {0}\n路径: {1}\n异常: {2}".Translate(
|
||||
fileName,
|
||||
file,
|
||||
ex.ToString()
|
||||
|
Loading…
Reference in New Issue
Block a user