Commit 7afe58f7 authored by 潘栩锋's avatar 潘栩锋 🚴

1

parent bb7ed0d0
......@@ -78,9 +78,12 @@ namespace Misc
{
Type t = typeof(T);
foreach (PropertyInfo propertyInfo in t.GetProperties())
{
if (propertyInfo.CanWrite)
{
propertyInfo.SetValue(dest, propertyInfo.GetValue(src, null), null);
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment