A field is an array. If this record does not exist in the array, add a record to the array. FilterDefinitionBuilder<WorkflowDo> fd[......]继续阅读

2022年12月7日 0条评论 2718点热度 28人点赞 痴者工良 阅读全文

1,一个字段是数组,如果数组中不存在这个记录时,向数组增加一个记录。 FilterDefinitionBuilder<WorkflowDo> fd = Builders<WorkflowDo>.Filter; var f = f[......]继续阅读

2022年12月7日 0条评论 2710点热度 28人点赞 痴者工良 阅读全文

背景: I searched many libraries, but either they charged fees or were too outdated to be used. After extensive testing, I wrote the relevant code for th[......] 继续阅读

2022年12月3日 0条评论 78点热度 4人点赞 痴者工良 阅读全文

背景: 查找了很多库,要么收费,要么太旧用不了。 经过大量测试,写了打印机的相关代码。 实现的代码不依赖于第三方库。 核心代码 引入这两个库: System.Drawing.Printing Vanara.PInvoke.Printing 这两个库用于使用 winspool.drv 服务,可以避免编[......] 继续阅读

2022年12月3日 0条评论 4882点热度 4人点赞 痴者工良 阅读全文

WorkflowDefinitionValidator 是整个验证入口,上一个非常复杂的对象结构。 参考:https://github.com/serverlessworkflow/specification/blob/main/specification.md 通过依赖注入,继续检查下一层的字段。[......] 继续阅读

2022年11月24日 0条评论 2186点热度 0人点赞 痴者工良 阅读全文

WorkflowDefinitionValidator is the main entry point for validation, which has a very complex object structure. Reference: https://github.com/serverles[......] 继续阅读

2022年11月24日 0条评论 68点热度 0人点赞 痴者工良 阅读全文

代码示例如下: System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;[......]继续阅读

2022年11月22日 0条评论 2517点热度 0人点赞 痴者工良 阅读全文

The code example is as follows: System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPoli[......]继续阅读

2022年11月22日 0条评论 68点热度 0人点赞 痴者工良 阅读全文

首先在要被执行的 类型 加上参数: [Option(Description = "CloudEvents 'source' (default: urn:example-com:mysource:abc)", LongName = "source", ShortName = "s")][......]继续阅读

2022年11月19日 0条评论 2527点热度 0人点赞 痴者工良 阅读全文

首先在要被执行的类型加上参数: [Option(Description = "CloudEvents 'source' (default: urn:example-com:mysource:abc)", LongName = "source",[......]继续阅读

2022年11月19日 0条评论 90点热度 0人点赞 痴者工良 阅读全文

引入这个库: YamlDotNet 配置示例: services.AddYamlDotNetSerializer( serializer => serializer .IncludeNonPubli[......]继续阅读

2022年11月19日 0条评论 2694点热度 0人点赞 痴者工良 阅读全文

Introduce this library: YamlDotNet Configuration example: services.AddYamlDotNetSerializer( serializer => serializer[......]继续阅读

2022年11月19日 0条评论 3690点热度 0人点赞 痴者工良 阅读全文

ISO 8601 specifies the time format. In Go language, Duration implements this time format. package main import ( "fmt" "time&q[......]继续阅读

2022年11月19日 0条评论 3442点热度 0人点赞 痴者工良 阅读全文

ISO8601 规定了时间格式。 在 Go 语言中,Duration 就实现了这种时间格式。 package main import ( "fmt" "time" ) func main() { t := time.Now() fmt.Println(t) } 输[......] 继续阅读

2022年11月19日 0条评论 3420点热度 0人点赞 痴者工良 阅读全文

Background I suddenly learned about a project called ServerlessWorkflow. https://github.com/serverlessworkflow The specific utility of this project[......] 继续阅读

2022年11月19日 0条评论 100点热度 1人点赞 痴者工良 阅读全文

背景 突然了解到有个项目叫 ServerlessWorkflow 。 https://github.com/serverlessworkflow 这个项目有什么用,并不重要,重要的是可以从这里了解到云原生中间件开发的一些现状和需要学习的知识。 因为这个项目是 CNCF 项目,里面使用到的规范、思[......] 继续阅读

2022年11月19日 0条评论 2570点热度 1人点赞 痴者工良 阅读全文

创建一个元素: <Label x:Name="Label1" Text="111" VerticalOptions="Center"[......]继续阅读

2022年11月14日 0条评论 2344点热度 0人点赞 痴者工良 阅读全文

创建一个元素: <Label x:Name="Label1" Text="111" VerticalOptions="Center" HorizontalOptions="Ce[......]继续阅读

2022年11月14日 0条评论 2316点热度 0人点赞 痴者工良 阅读全文

Background In Windows, applications can use the app.manifest asset file to configure the role permissions used when the program is launched. The effec[......] 继续阅读

2022年11月10日 0条评论 106点热度 0人点赞 痴者工良 阅读全文

问题背景 在 Windows 中,开发的应用可以使用 app.manifest 资产文件配置程序启动时,使用何种角色权限启动。 效果如下: 正常情况下,在 app.manifest 加上以下配置即可: 如果项目中没有这个文件,可以在项目中新建项-清单文件。 <trustInfo xm[......]继续阅读

2022年11月10日 0条评论 3085点热度 0人点赞 痴者工良 阅读全文
15678928