初步完成代码级重写通用接口功能

This commit is contained in:
2023-11-17 14:05:05 +08:00
parent 47fe9030d6
commit e5ab4d6887
12 changed files with 177 additions and 145 deletions

View File

@@ -47,4 +47,8 @@ public class DObject : Dictionary<string, object>
}
}
public static DObject? FromObject(object? data)
{
return data?.Adapt<DObject>(AdapterCfg.ExactCase);
}
}