-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tasks]: 有关【动态方法模板】相关功能的规划与任务细化 (意见搜集与讨论) #279
Comments
|
案例如下:
NatashaManagement.RegistDomainCreator<NatashaDomainCreator>();
var simpleFunc = "return Math.Floor(arg1/0.3);"
.WithMetadata(typeof(Math))
.ToFunc<double, double>();
Console.WriteLine(func(1,2)); |
Sequence Diagram(s)sequenceDiagram
participant User
participant NatashaSlimMethodBuilder
participant AssemblyCSharpBuilder
participant NatashaLoadContext
User->>+NatashaSlimMethodBuilder: Create Instance with "script"
NatashaSlimMethodBuilder->>User: Return Builder Instance
User->>+NatashaSlimMethodBuilder: Configure using AssemblyCSharpBuilder
NatashaSlimMethodBuilder->>+AssemblyCSharpBuilder: Apply Configuration
AssemblyCSharpBuilder-->>-NatashaSlimMethodBuilder: Config Applied
User->>+NatashaSlimMethodBuilder: Configure using NatashaLoadContext
NatashaSlimMethodBuilder->>+NatashaLoadContext: Apply Configuration
NatashaLoadContext-->>-NatashaSlimMethodBuilder: Config Applied
User->>+NatashaSlimMethodBuilder: Generate Delegate
NatashaSlimMethodBuilder->>User: Delegate Returned
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
📃 计划清单 (Tasklist).
基于方法内容的动态方法模板扩展
The text was updated successfully, but these errors were encountered: