3gbywork.CommonUtility 1.0.26

dotnet add package 3gbywork.CommonUtility --version 1.0.26
NuGet\Install-Package 3gbywork.CommonUtility -Version 1.0.26
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="3gbywork.CommonUtility" Version="1.0.26" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 3gbywork.CommonUtility --version 1.0.26
#r "nuget: 3gbywork.CommonUtility, 1.0.26"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install 3gbywork.CommonUtility as a Cake Addin
#addin nuget:?package=3gbywork.CommonUtility&version=1.0.26

// Install 3gbywork.CommonUtility as a Cake Tool
#tool nuget:?package=3gbywork.CommonUtility&version=1.0.26

总结整理的一些工具类

WPF 相关
类/文件/文件夹 说明
DelayCommand 延时触发命令,可以预防按钮连续点击
EventToCommand 将事件转换为命令
RelayCommand, RelayCommand<T> ICommand实现
AttachedProperty 附加属性
Converters 各种转换器
LocalizedTextExtension 本地化
WatchCultureChangedExtension 监控语言切换,适用于ComboBox子项
MVVM
类/文件/文件夹 说明
Ioc 依赖注入容器
Messaging 进程内模块间通讯
Mvvm MVVM模式,可绑定字典
WCF
类/文件/文件夹 说明
Serialization 数据契约解析器
Services WCF服务
Services/MemberChanged 属性同步服务
ServiceHostManager 服务端工具类
SimpleDuplexClient 客户端工具类

Release Logs

1.0.22
  1. 新增 Compression/Compressor,支持 GZipStream(默认)、DeflateStream。
  2. 新增 Managers/AesManager,支持 Aes 加密解密
1.0.24
  1. EqualsConverter 新增属性 CompareTo ,弃用属性 CompareToTrue 。可以将绑定对象的类型与指定类型比较
1.0.25
  1. Fixed NullException in EqualsConverter
1.0.26
  1. 新增附件属性 PropertyName,配合 CommonUtility.Controls 中的样式 PropertyItemStyle 。示例代码:

<ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="pack://Application:,,,/CommonUtility.Controls;component/Styles/CustomStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>


<ContentControl Style="{StaticResource PropertyItemStyle}" ap:AttachedProperty.PropertyName="测试:">
    <Button Content="这是一个按钮"/>
</ContentControl>
  1. Mvvm 新增 DisplayNameValueViewModel 类,可用于枚举绑定等场景
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on 3gbywork.CommonUtility:

Package Downloads
3gbywork.CommonUtility.Controls

Controls of CommonUtility support net4.0, net4.5 and net4.7.2

3gbywork.CommonUtility.StaticResourceUpdater

Static Resource Updater of CommonUtility support net4.0 and above

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.26 75 4/2/2024
1.0.25 74 2/27/2024
1.0.24 63 2/26/2024
1.0.22 111 1/23/2024
1.0.21 130 1/9/2024
1.0.20 128 9/14/2023
1.0.19 105 9/14/2023
1.0.18 158 7/22/2023
1.0.17 167 7/12/2023
1.0.16 162 6/8/2023
1.0.14 148 5/20/2023
1.0.13 156 4/23/2023
1.0.12 166 4/20/2023
1.0.11 190 3/28/2023
1.0.9 219 2/21/2023
1.0.8 215 2/21/2023
1.0.7 493 9/23/2022
1.0.6 464 9/20/2022
1.0.3 503 1/27/2022
1.0.2 477 1/26/2022
1.0.1 471 1/25/2022
1.0.0 486 1/20/2022