DLGCY_DotNet.Utilities.Handpick
1.3.4
dotnet add package DLGCY_DotNet.Utilities.Handpick --version 1.3.4
NuGet\Install-Package DLGCY_DotNet.Utilities.Handpick -Version 1.3.4
<PackageReference Include="DLGCY_DotNet.Utilities.Handpick" Version="1.3.4" />
<PackageVersion Include="DLGCY_DotNet.Utilities.Handpick" Version="1.3.4" />
<PackageReference Include="DLGCY_DotNet.Utilities.Handpick" />
paket add DLGCY_DotNet.Utilities.Handpick --version 1.3.4
#r "nuget: DLGCY_DotNet.Utilities.Handpick, 1.3.4"
#addin nuget:?package=DLGCY_DotNet.Utilities.Handpick&version=1.3.4
#tool nuget:?package=DLGCY_DotNet.Utilities.Handpick&version=1.3.4
C# 帮助类库,包含:
1、ClassHelper(类帮助类:深拷贝、Mapper、序列化、调用信息、反射方法)。
2、ConsoleWriter(控制台输出重定向)。
3、EnumExtension(枚举 扩展/帮助类)。
4、StringHelper(字符串帮助类)。
5、ConvertHelper(类型转换)。
6、ByteHelper(字节帮助类)。
7、ResultMsg、ResultData(返回结果封装类)。
8、TaskExtensions(Task 扩展)。
9、RemovableCollection(被枚举(foreach)时可移除项的集合)。
精选自 https://gitee.com/kuiyu/dotnetcodes(MIT)/ https://gitee.com/dlgcy/dotnetcodes(GPL-2.0),以自用为主,感兴趣的朋友也可以使用。
免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。
严正声明:禁止在 996 以及相似类型的公司中使用本库。
***********************************************
更新内容:
[新增] ClassHelper 类方法 GetAllPropertiesInOrder:获取一个类型中所有属性(按照先父类属性后子类属性的顺序)。
***********************************************
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.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
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 等)。 基础说明: - 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 以及相似类型的公司中使用本库。 *********************************************** 更新内容: 1、[新增] [转换器] 判断对象是否为 null(ObjectIsNullConverter)、不为 null(ObjectIsNotNullConverter)。 2、[新增] [标记扩展] 提供 SolidColorBrush 值(SolidColorBrushValue)。 3、[新增] [方法] 从颜色字符串(支持RGB和ARGB)转换为单色画刷(MediaColorHelper.ColorStrToSolidColorBrush)。 4、[新增] [转换器] 将某转换器转换出的 bool 结果转换为其他结果(一般只能以标记扩展方式使用)(lib:BoolResultConverterToOtherResultConverter)。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
见 Description。