DeepClone
基于Natasha的深度克隆库
Install / Use
/learn @night-moon-studio/DeepCloneREADME
DeepClone
<br/>持续构建(CI Build Status)
| CI Platform | Build Server | Master Build | Master Test |
|--------- |------------- |---------| --------|
| Travis | Linux/OSX | | |
| AppVeyor | Windows/Linux |
|
|
| Azure | Windows |
|
|
| Azure | Linux |
|
|
| Azure | Mac |
|
|
项目简介:
此项目为Natasha的衍生项目,为用户提供高性能的深度克隆。
<br/>使用方法(User Api):
<br/>-
引入 动态构件库: NMS.DeepClone
-
初始化: NatashaInitializer.InitializeAndPreheating();
-
敲代码
//非object类型使用
CloneOperator.Clone(instance);
//object类型使用
ObjectCloneOperator.Clone(obj);
//readonly 字段会根据构造函数中参数名,或者通过注解进行匹配
public class A()
{
public A(string name,int age){ StuName = name; Age = age; }
[NeedCtor("name")]
public readonly StuName;
[NeedCtor]
public readonly Age;
}
发布计划:
- 2019-08-20 : 发布v1.0.0.0, 高性能动态深度克隆库。
<br/>
License
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
