VOOZH about

URL: https://www.nuget.org/packages/DLGCY_DotNet.Utilities.Handpick/

⇱ NuGet Gallery | DLGCY_DotNet.Utilities.Handpick 1.6.2




👁 Image
DLGCY_DotNet.Utilities.Handpick 1.6.2

dotnet add package DLGCY_DotNet.Utilities.Handpick --version 1.6.2
 
 
NuGet\Install-Package DLGCY_DotNet.Utilities.Handpick -Version 1.6.2
 
 
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="DLGCY_DotNet.Utilities.Handpick" Version="1.6.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DLGCY_DotNet.Utilities.Handpick" Version="1.6.2" />
 
Directory.Packages.props
<PackageReference Include="DLGCY_DotNet.Utilities.Handpick" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DLGCY_DotNet.Utilities.Handpick --version 1.6.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DLGCY_DotNet.Utilities.Handpick, 1.6.2"
 
 
#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.
#:package DLGCY_DotNet.Utilities.Handpick@1.6.2
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DLGCY_DotNet.Utilities.Handpick&version=1.6.2
 
Install as a Cake Addin
#tool nuget:?package=DLGCY_DotNet.Utilities.Handpick&version=1.6.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

***********************************************
更新内容:
1、[新增] [方法] ListHelper.RandomTake:从列表中随机抽取指定数量的元素(来自:https://mp.weixin.qq.com/s/lzFXIOGtc0BgA2h_Yivq5g)。
2、[微调] [方法] ClassHelper 类中的 GetPropertiesOfType 方法和 GetAllPropertiesInOrder 方法暴露 搜索方式标记 参数 bindingFlags。
3、[新增] [方法] ClassHelper.GetFieldListOfType:获取一个目标对象中所有指定类型的字段列表。
***********************************************

【C# 帮助类库】,包含以下内容:
01、ClassHelper(类帮助类:深拷贝、Mapper、序列化、调用信息、反射方法)。
02、ConsoleWriter(控制台输出重定向)。
03、EnumExtension(枚举 扩展/帮助类)。
04、StringHelper(字符串帮助类)。
05、ConvertHelper(类型转换)。
06、ByteHelper(字节帮助类)。
07、ResultMsg、ResultData(返回结果封装类)。
08、TaskExtensions(Task 扩展)。
09、RemovableCollection(被枚举(foreach)时可移除项的集合)。
10、DictionaryHelper(字典帮助类)。
11、ThreadHelper(线程帮助类,包含:高精度睡眠)。
12、AssemblyHelper(程序集帮助类,包含:程序集特性访问器,方法:校验最小版本-ValidateMinAssemblyFileVersion)。
13、ListHelper(列表帮助类,包含方法:列表比较-ListComparator、随机抽取元素-RandomTake)。

精选自 https://gitee.com/kuiyu/dotnetcodes(MIT)/ https://gitee.com/dlgcy/dotnetcodes(GPL-2.0),以自用为主,感兴趣的朋友也可以使用。
重要更改基本在本人业余时间完成,仅代表个人立场,与本人所在公司无关。
免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。
严正声明:禁止在 996 以及相似类型的公司中使用本库。

Product Versions Compatible and additional computed target framework versions.
.NET net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Framework net472 net472 is compatible.  net48 net48 was computed.  net481 net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DLGCY_DotNet.Utilities.Handpick:

Package Downloads
WPFTemplateLib

更新内容: *********************************************** 1、[新增] [转换器] CompareParaNumTrueToTrueValueOtherwiseKeepConverter:与参数(数字)进行比较(比较操作的类型属性为 CompareAction,默认为大于)并在结果为 true 时返回指定的值,否则保持原值(即不进行转换)。 2、[增强] [转换器] CompareWithParaNumberConverter 改为继承 BoolResultValueConverterBase,所以可以将 bool 结果进一步转换为其它类型的值。 3、[新增] [帮助类] CompareHelper(比较帮助类),包含获取比较结果方法 GetCompareResult(有两个重载)。 *********************************************** 本库为一款【WPF 帮助类库】,包含但不限于以下内容: 01、MVVM 基础支持类(命令:RelayCommand;绑定:ObservableObject、SimpleBindableBase、NotifyDataErrorObject、ViewModelBase)。 02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper、FrameworkElementHelper、ConverterHelper 等)。 03、附加属性帮助类(WpfXamlPropProxy、BringIntoViewBehavior、ExportPicAttached、WpfTouchScrollHelper、GridHelper、FocusAttached、DataGridAttached、 TextBoxAttached、LabelAttached、RadioButtonAttached、RotateToTranslateAttachedV2、LocationTargetRenderOriginAttached、TabControlAttached 等)。 04、行为类(DragInCanvasBehavior、SelectedItemBehavior、AttachAdornerBehavior 等)。 05、样式(引入方式:<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/StyleDictionary.xaml" />); 默认主题(不引入则不设置默认样式)(引入方式:<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/DefaultThemeDictionary.xaml" />); 颜色主题(部分控件有效):[默认]蓝色(*/Light.Blue.xaml)、绿色(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Themes/Light.Green.xaml" />)。 06、转换器("引入方式:<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/WpfConverters/ConverterDictionary.xaml" />) 07、配置属性系统(ConfigManager)。 08、自定义控件(Toast、ToastTextBlock、SystemDropShadowChrome、XUI:Form、PanelWithMessage、CircleWithInOutText、PP:CornerClip、FlipableControl、FlipableContentControl、 Handy:UniformSpacingPanel、PP:DateTimePicker、PP:SimplePanel、Handy:Row/Col、AutoGrid、TitleValueUnit、fruit:Table、fruit:PasswordInput、mah:MetroHeader 等)。 09、用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。 10、类型转换器(EnumDescriptionTypeConverter)。 11、在行为中使用的事件触发器(RoutedEventTrigger)。 12、增强类(FixedCountObservableCollection、RangeObservableCollection 等)。 13、一个常用值类 CommonValues(目前有两个布尔值:TrueValue、FalseValue)。 14、标记扩展(lib:IntValue、SolidColorBrushValue、BoolValue、VisibilityValue 等)。 基础说明: - Xaml 命名空间:xmlns:lib="https://gitee.com/dlgcy/WPFTemplateLib" 。 - 样式以"LibSty"开头,控件模版以"LibTpl"开头。WPF 系统样式以"SysSty"开头,控件模板以"SysTpl"开头。 - 转换器列表:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/WpfConverters/ConverterDictionary.xaml - 默认主题的内容:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/Styles/DefaultThemeDictionary.xaml - 转换器等地方需要指定值转换模式的,使用以下枚举名或值:Visibility(1)、Bool(2)、String(3)、Int(4)、Float(5)、Double(6)、SolidColorBrush(7)、UInt(8)、Short(9)、UShort(10)、Byte(11)、Long(12)。 或者整体使用[静态类]UsefulConvertParaStr,如:UsefulConvertParaStr.VisibleCollapsed、TrueFalse。 使用方法详见: 1、https://gitee.com/dlgcy/DLGCY_WPFPractice 2、https://gitee.com/dlgcy/WPFTemplate 3、https://dlgcy.com 4、https://gitee.com/dlgcy/WpfAnimationDemo 一部分是搬运修改网上的资源,一部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。 重要更改基本在本人业余时间完成,仅代表个人立场,与本人所在公司无关。 免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。 严正声明:禁止在 996 以及相似类型的公司中使用本库。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.2 98 5/23/2026
1.6.1 96 5/13/2026
1.6.0 124 3/1/2026
1.5.1 221 12/25/2025
1.5.0 360 9/17/2025
1.4.1 306 8/6/2025
1.4.0 211 7/4/2025
1.3.5 231 7/3/2025
1.3.4 228 5/28/2025
1.3.3.1 177 4/19/2025
1.3.2.1 555 3/26/2025
1.3.1.1 178 1/21/2025
1.3.0 200 11/29/2024
1.2.1 521 11/7/2024
1.2.0 181 11/6/2024
1.1.2 210 10/11/2024
1.1.1 245 9/23/2024
1.0.0 224 9/7/2024

见 Description。