代码编织梦想

本文记录我参与的开源项目

dotnet runtime

日志库减少不必要的对象创建和静态对象

修复 MAC 下删除应用程序,然后调用 Process Start 失败

详细请看 dotnet core 在 MAC 系统下删除应用程序自己后调 Process Start 方法将会抛出 Win32 异常

Ignore the executable file be deleted in Process Start by lindexi · Pull Request #40748 · dotnet/runtime

文档

代码审查

Nullability annotations for HttpListener by pgovind

链接 Nullability annotations for HttpListener by pgovind · Pull Request #41189 · dotnet/runtime

有多余的判断逻辑,使用 s!.Length 不如使用原先拿到的 l 判断

有优化的写法,有两个小伙伴给我点赞

SourceYard

主要开发者

制作 NuGet 源代码包的工具,使用 NuGet 将源代码分发给小伙伴,可以直接安装此 NuGet 获取源代码

WPF

水到非官方开发者了,但大部分都是修改文档和注释

Replace IsAssignableFrom to is pattern by lindexi · Pull Request #101 · dotnet/wpf

We use language keywords instead of BCL types by lindexi · Pull Request #102 · dotnet/wpf

Update the docs link by lindexi · Pull Request #3078 · dotnet/wpf

Remove special vs version on the link by lindexi · Pull Request #3160 · dotnet/wpf

Fix XmlNsInfo comment typo by lindexi · Pull Request #3742 · dotnet/wpf

Remove the custom HashSet class by lindexi · Pull Request #3738 · dotnet/wpf

Use Array.Empty instead of creating list in ResourceDictionaryDiagnostics by lindexi · Pull Request #3851 · dotnet/wpf

代码审查

https://github.com/dotnet/wpf/pull/3092#issuecomment-640955984

Add BindingFailed event for diagnostics of binding failures by spadapet · Pull Request #3505 · dotnet/wpf

[release/5.0] Support Source Generators in WPF projects by ryalanms · Pull Request #3846 · dotnet/wpf

OpenXML SDK

水到非官方开发者了

API

Add TryGetPartById by lindexi · Pull Request #714 · OfficeDev/Open-XML-SDK

性能优化

Use Cache.ReadOnlyCollection for OpenXmlDomReader.Attributes by lindexi · Pull Request #705 · OfficeDev/Open-XML-SDK

Add Benchmark for create metadata by lindexi · Pull Request #764 · OfficeDev/Open-XML-SDK

Reduce property acquisition and repeated call methods by lindexi · Pull Request #788 · OfficeDev/Open-XML-SDK

Small performance improvements for AddNamespaceDeclaration by lindexi · Pull Request #789 · OfficeDev/Open-XML-SDK

文档

Remove unnecessary code by lindexi · Pull Request #742 · OfficeDev/Open-XML-SDK

Remove unused ElementLookup.Contains method by lindexi · Pull Request #757 · OfficeDev/Open-XML-SDK

Fix typo by lindexi · Pull Request #769 · OfficeDev/Open-XML-SDK

Fix comment typo by lindexi · Pull Request #775 · OfficeDev/Open-XML-SDK

Fix the typo in comment. by lindexi · Pull Request #785 · OfficeDev/Open-XML-SDK

Xamarin Forms

修坑

Fix the memory leak problem of ListViewRenderer headerRenderer by lindexi · Pull Request #11699 · xamarin/Xamarin.Forms

samples

https://github.com/dotnet/samples/pull/299

https://github.com/dotnet/samples/pull/308

https://github.com/dotnet/samples/pull/516

https://github.com/dotnet/samples/pull/517

https://github.com/dotnet/samples/pull/518

https://github.com/dotnet/samples/pull/524

https://github.com/dotnet/samples/pull/539

https://github.com/dotnet/samples/pull/541

https://github.com/dotnet/samples/pull/542

https://github.com/dotnet/samples/pull/561

https://github.com/dotnet/samples/pull/602

https://github.com/dotnet/samples/pull/634

https://github.com/dotnet/samples/pull/745

Fix compile by lindexi · Pull Request #741 · dotnet/samples

Fix align by lindexi · Pull Request #654 · dotnet/samples

Fix code format by lindexi · Pull Request #696 · dotnet/samples

Fix code format by lindexi · Pull Request #854 · dotnet/samples

Environment.FailFast Method (System)

Fix code format by lindexi · Pull Request #1011 · dotnet/samples

Fix code format by lindexi · Pull Request #1065 · dotnet/samples

Assembly.GetType Method (System.Reflection)

dotnet docs

Update inheritance.md by lindexi · Pull Request #10669 · dotnet/docs

Fix typo by lindexi · Pull Request #9499 · dotnet/docs

nuget

Update nuspec.md by lindexi · Pull Request #1316 · NuGet/docs.microsoft.com-nuget

visualstudio-docs

Fix code by lindexi · Pull Request #2309 · MicrosoftDocs/visualstudio-docs

Fix code by lindexi · Pull Request #2503 · MicrosoftDocs/visualstudio-docs

winrt-api

Fix code format by lindexi · Pull Request #773 · MicrosoftDocs/winrt-api

Fix code format by lindexi · Pull Request #772 · MicrosoftDocs/winrt-api

windows-uwp

Fix align by lindexi · Pull Request #1357 · MicrosoftDocs/windows-uwp

Fix format by lindexi · Pull Request #1423 · MicrosoftDocs/windows-uwp

xamarin-docs.zh-cn

HandyControl

Improve Deque initialization performance by lindexi · Pull Request #435 · HandyOrg/HandyControl

Add InputClickHelper by lindexi · Pull Request #414 · HandyOrg/HandyControl

Make the locker as readonly by lindexi · Pull Request #413 · HandyOrg/HandyControl

Use const replace magic number by lindexi · Pull Request #412 · HandyOrg/HandyControl

Avalonia

Fix 1533 Avoid throwing exception in TryReadDouble by lindexi · Pull Request #1534 · AvaloniaUI/Avalonia

Improve tiny performance by lindexi · Pull Request #1472 · AvaloniaUI/Avalonia

Dispatcher's InvokeAsync check action is null #1400 by lindexi · Pull Request #1401 · AvaloniaUI/Avalonia

add some comment by lindexi · Pull Request #1396 · AvaloniaUI/Avalonia

JasonStein Notepads

Added zh-CN translation by lindexi · Pull Request #32 · JasonStein/Notepads

Orleans.MultiClient

https://github.com/OrleansContrib/Orleans.MultiClient/pull/3

Castle.Core

Update date by lindexi · Pull Request #523 · castleproject/Core

NewLife.RocketMQ

文档

加上 PackageProjectUrl 链接 by lindexi · Pull Request #14 · NewLifeX/NewLife.RocketMQ

MultiTouchVista

Format doc by lindexi · Pull Request #2 · nesherhh/MultiTouchVista

Format doc by lindexi · Pull Request #1 · nesherhh/MultiTouchVista

JitBench

Fix the link by lindexi · Pull Request #93 · aspnet/JitBench

dotnet iot

代码审查 Fixing DHT issues, adding and adjusting documentation by Ellerbach · Pull Request #1164 · dotnet/iot

鸿蒙的文档

相机开发 示例开发2 链接失效 · Issue #I1UW33 · OpenHarmony/docs - Gitee.com

我搭建了自己的博客 https://blog.lindexi.com/ 欢迎大家访问,里面有很多新的博客。只有在我看到博客写成熟之后才会放在csdn或博客园,但是一旦发布了就不再更新

如果在博客看到有任何不懂的,欢迎交流,我搭建了 dotnet 职业技术学院 欢迎大家加入

如有不方便在博客评论的问题,可以加我 QQ 2844808902 交流

知识共享许可协议
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。欢迎转载、使用、重新发布,但务必保留文章署名林德熙(包含链接:http://blog.csdn.net/lindexi_gd ),不得用于商业目的,基于本文修改后的作品务必以相同的许可发布。如有任何疑问,请与我联系

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/lindexi_gd/article/details/110531830

dotnet OpenXML 元素 cNvPr NonVisual Drawing Properties 的属性作用-爱代码爱编程

本文收集元素属性 cNvPr Non-Visual Drawing Properties 的属性的作用 本文的 Non-Visual Drawing Properties 也就是在 OpenXML 文档里面的 cNvPr 代码,在 ECMA 376 的 20.2.2.3 文档有详细说明 在形状的 Non-Visual Drawing Propertie

dotnet ConcurrentDictionary 的 GetOrAdd 性能比 TryGetValue 加 TryAdd 低-爱代码爱编程

我在 Office 的 Open-XML-SDK 库里面找到有代码线程不安全,代码里面使用了 TryGetValue 加 TryAdd 的方法添加对象,而线程安全的方法是通过 GetOrAdd 方法。不过在小伙伴的评论我找到了 GetOrAdd 性能其实在有闭包的时候不如使用 TryGetValue 加 TryAdd 调用这两个方法,但是 GetOrAdd

WPF 绑定继承的样式提示 只能根据带有基类型 IFrameworkInputElement 的目标类型的 Style 样式-爱代码爱编程

在 WPF 中,如果有一个样式是继承另一个样式,而样式没有使用 TargetType 那么在运行的时候会提示 只能根据带有基类型 IFrameworkInputElement 的目标类型的 Style 样式 在界面添加下面代码 <Window.Resources> <Style x:Key="Style1

制作的 dotnet tool 运行失败提示依赖缺失-爱代码爱编程

小伙伴做了一个很好用的 dotnet tool 工具,但是这个工具仅在他的设备上能运行,在我的设备上运行就会退出提示 An assembly specified in the application dependencies manifest (LindexiDoubi.deps.json) was not found 找不到依赖 默认选择 dotnet

非技术 在线教育与电信行业的发展-爱代码爱编程

今天在去买菜的时候,听到旁边有个移动的小哥哥在向一位大叔叔推荐办理移动带宽升级业务,他说到一句话,你升级一下带宽,你的小孩上在线课程的时候多顺哇。本来是没当回事,只是无聊的时候想到这一点,我认为这里是一个大的利益链,于是写博客记一下 现在是 2020.08.30 我想看看是否我认为的是对的 本文不聊任何技术,也不聊任何音视频相关的技术哈,只是想聊聊利益

dotnet 让 C# 可以通过动态生成 HLSL 使用 DX12 的 GPU 并行计算库 ComputeSharp 的简介-爱代码爱编程

本文来安利大家一个超强的库,这个库可以让你的 C# 代码利用上 GPU 显卡的性能,进行一些并行计算。这个库是基于 DirectX12GameEngine 的 ComputeSharp 库。在这个库里面将会动态生成 HLSL 代码,使用着色器的方式在 GPU 上跑起来 这个 ComputeSharp 库在 GitHub 完全开源,请看 https://g

dotnet OpenXML 元素 cNvPr NonVisual Drawing Properties 的属性作用-爱代码爱编程

本文收集元素属性 cNvPr Non-Visual Drawing Properties 的属性的作用 本文的 Non-Visual Drawing Properties 也就是在 OpenXML 文档里面的 cNvPr 代码,在 ECMA 376 的 20.2.2.3 文档有详细说明 在形状的 Non-Visual Drawing Propertie

dotnet ConcurrentDictionary 的 GetOrAdd 性能比 TryGetValue 加 TryAdd 低-爱代码爱编程

我在 Office 的 Open-XML-SDK 库里面找到有代码线程不安全,代码里面使用了 TryGetValue 加 TryAdd 的方法添加对象,而线程安全的方法是通过 GetOrAdd 方法。不过在小伙伴的评论我找到了 GetOrAdd 性能其实在有闭包的时候不如使用 TryGetValue 加 TryAdd 调用这两个方法,但是 GetOrAdd

WPF 绑定继承的样式提示 只能根据带有基类型 IFrameworkInputElement 的目标类型的 Style 样式-爱代码爱编程

在 WPF 中,如果有一个样式是继承另一个样式,而样式没有使用 TargetType 那么在运行的时候会提示 只能根据带有基类型 IFrameworkInputElement 的目标类型的 Style 样式 在界面添加下面代码 <Window.Resources> <Style x:Key="Style1

制作的 dotnet tool 运行失败提示依赖缺失-爱代码爱编程

小伙伴做了一个很好用的 dotnet tool 工具,但是这个工具仅在他的设备上能运行,在我的设备上运行就会退出提示 An assembly specified in the application dependencies manifest (LindexiDoubi.deps.json) was not found 找不到依赖 默认选择 dotnet

非技术 在线教育与电信行业的发展-爱代码爱编程

今天在去买菜的时候,听到旁边有个移动的小哥哥在向一位大叔叔推荐办理移动带宽升级业务,他说到一句话,你升级一下带宽,你的小孩上在线课程的时候多顺哇。本来是没当回事,只是无聊的时候想到这一点,我认为这里是一个大的利益链,于是写博客记一下 现在是 2020.08.30 我想看看是否我认为的是对的 本文不聊任何技术,也不聊任何音视频相关的技术哈,只是想聊聊利益

dotnet 让 C# 可以通过动态生成 HLSL 使用 DX12 的 GPU 并行计算库 ComputeSharp 的简介-爱代码爱编程

本文来安利大家一个超强的库,这个库可以让你的 C# 代码利用上 GPU 显卡的性能,进行一些并行计算。这个库是基于 DirectX12GameEngine 的 ComputeSharp 库。在这个库里面将会动态生成 HLSL 代码,使用着色器的方式在 GPU 上跑起来 这个 ComputeSharp 库在 GitHub 完全开源,请看 https://g