public static void TransferValuesTo(this object source, object target, params string[] including) { ReflectUtil.SetSameClassValue(source, target, variants: including, listisdisallow: false); }
public static void TransferTo(this object source, object target, string[] excludingorincluding = null, bool listisexcluding = true, bool crossNullvalue = true) { ReflectUtil.SetSameClassValue(source, target, variants: excludingorincluding, listisdisallow: listisexcluding, crossnullvalue: crossNullvalue); }