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
VPet.Solution
@ -92,7 +92,7 @@ public static class ReflectionUtils
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
property.IsDefined(typeof(ReflectionPropertyIgnoreAttribute))
|
property.IsDefined(typeof(ReflectionPropertyAttribute))
|
||||||
&& property.IsDefined(typeof(ReflectionPropertyConverterAttribute)) is false
|
&& property.IsDefined(typeof(ReflectionPropertyConverterAttribute)) is false
|
||||||
)
|
)
|
||||||
continue;
|
continue;
|
||||||
@ -229,10 +229,7 @@ public class ReflectionPropertyConverterAttribute : Attribute
|
|||||||
/// 反射属性忽视
|
/// 反射属性忽视
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[AttributeUsage(AttributeTargets.Property)]
|
[AttributeUsage(AttributeTargets.Property)]
|
||||||
public class ReflectionPropertyIgnoreAttribute : Attribute
|
public class ReflectionPropertyIgnoreAttribute : Attribute { }
|
||||||
{
|
|
||||||
public ReflectionPropertyIgnoreAttribute() { }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 反射设置
|
/// 反射设置
|
||||||
|
@ -173,7 +173,7 @@ public class SettingWindowVM : ObservableClass<SettingWindowVM>
|
|||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
MessageBox.Show(
|
MessageBox.Show(
|
||||||
"设置载入失败, 是否强制载入并重置\n[是]: 载入并重置\t[否]: 取消载入\n名称: {0}\n路径: {1}\n{2}".Translate(
|
"设置载入失败, 是否强制载入并重置\n[是]: 载入并重置\t[否]: 取消载入\n名称: {0}\n路径: {1}\n异常: {2}".Translate(
|
||||||
fileName,
|
fileName,
|
||||||
file,
|
file,
|
||||||
ex.ToString()
|
ex.ToString()
|
||||||
|
Loading…
Reference in New Issue
Block a user