Y_CoreLibrary 1.0.4

dotnet add package Y_CoreLibrary --version 1.0.4
                    
NuGet\Install-Package Y_CoreLibrary -Version 1.0.4
                    
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="Y_CoreLibrary" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Y_CoreLibrary" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Y_CoreLibrary" />
                    
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 Y_CoreLibrary --version 1.0.4
                    
#r "nuget: Y_CoreLibrary, 1.0.4"
                    
#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 Y_CoreLibrary@1.0.4
                    
#: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=Y_CoreLibrary&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Y_CoreLibrary&version=1.0.4
                    
Install as a Cake Tool

Y_CoreLibrary

Y_CoreLibrary is a .NET 6.0 class library for C#, providing various useful utility functions to help you write more robust, simple, and clear code. Due to the use of many basic C# syntax, it is also compatible with lower versions.

Installation

You can search for "Y_CoreLibrary" in the NuGet Package Manager to install, or install via command line:

dotnet add package Y_CoreLibrary

Usage

Here are some examples of utility functions.

ToDecimal

Call the YZZ.��.ת.ToDecimal(object? anything) method to convert any type of data to a decimal value.

Example:

object? anything = DBNull.Value;
decimal d = YZZ.��.ת.ToDecimal(anything);
Console.WriteLine(d);

// Output:
// 0
object? anything = null;
decimal d = YZZ.��.ת.ToDecimal(anything);
Console.WriteLine(d);

// Output:
// 0

License

Y_CoreLibrary is licensed under the MIT License.

Product 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. 
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 Y_CoreLibrary:

Package Downloads
Y_CommonControl

Y_CommonControl is a project that defines a set of classes, with the core focus being on the f_Ctrl class. This class abstracts the platform-specific presentation of a control, allowing the business logic of the application to be separate and reusable across different platforms. The f_ICtrls interface provides a set of properties that define the core functionality of a control that business logic will interact with, including properties that define text, selected IDs, selected values, column name IDs and values, source tables and rows, and control types. With this abstraction layer, developers can create a single set of business logic code that is platform-independent, simplifying development and maintenance efforts.

Y_Library

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 312 6/29/2023
1.0.3 516 6/19/2023
1.0.1 528 6/12/2023
1.0.0 546 6/8/2023