Common.BasicHelper 1.2.6543.304

There is a newer version of this package available.
See the version list below for details.
dotnet add package Common.BasicHelper --version 1.2.6543.304
                    
NuGet\Install-Package Common.BasicHelper -Version 1.2.6543.304
                    
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="Common.BasicHelper" Version="1.2.6543.304" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.BasicHelper" Version="1.2.6543.304" />
                    
Directory.Packages.props
<PackageReference Include="Common.BasicHelper" />
                    
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 Common.BasicHelper --version 1.2.6543.304
                    
#r "nuget: Common.BasicHelper, 1.2.6543.304"
                    
#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 Common.BasicHelper@1.2.6543.304
                    
#: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=Common.BasicHelper&version=1.2.6543.304
                    
Install as a Cake Addin
#tool nuget:?package=Common.BasicHelper&version=1.2.6543.304
                    
Install as a Cake Tool

<p align="center"> <a href="#" target="_blank" rel="noopener noreferrer"> <img width="128" src="https://raw.githubusercontent.com/Crequency/Common.BasicHelper/main/Common.BasicHelper/icon.png" alt="Common.BasicHelper Logo"> </a> </p>

<h1 align="center">Common.BasicHelper</h1>

About

Common.BasicHelper is a collection of helper functions for dotnet platform (C# mainly).

You can easily use it in your project through NuGet.

Via dotnet cli

dotnet add package Common.BasicHelper

Samples

We provide some samples in Commong.BasicHelper.Samples project.

To run this project, just run commands:

cd Common.BasicHelper.Samples
dotnet run

The output will looks like

info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:<port>
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: <path>

<port> label is the port number of the server.

Then you can visit http://localhost:<port>/swagger/index.html to see the samples.

Usage

Extensions

You can use follow namespace to use extensions:

using Common.BasicHelper.Utils.Extensions;

Such as extensions in QueueHelper:

var queue = new Queue<int>()
    .Push(1)
    .Push(2)
    .Pop()
    .Push(3)
    .Push(4)
    .Pop()
    .Push(5)
    ;
queue.Dump(); // Result will be "3 4 5 "

And you can execute a string as a system command:

"help".ExecuteAsCommand();

And you can pass arguments through parameters args.

More extensions can be find in our docs later.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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.  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 Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.6863.950 206 3/21/2024
1.3.780.500 165 3/17/2024
1.3.780.499 165 3/17/2024
1.3.775.825 165 3/12/2024
1.3.584.228 611 9/3/2023
1.3.584.218 413 9/3/2023
1.2.6563.407 558 5/26/2023
1.2.6563.404 560 5/26/2023
1.2.6546.627 600 5/9/2023
1.2.6546.623 559 5/9/2023
1.2.6546.581 550 5/9/2023
1.2.6543.304 568 5/6/2023
1.2.6543.302 526 5/6/2023
1.2.6526.232 582 4/19/2023
1.2.6515.1030 605 4/8/2023
1.2.6515.1029 584 4/8/2023
1.2.6498.332 612 3/22/2023
1.2.6498.331 627 3/22/2023
1.2.6490.95 651 3/14/2023
1.2.6490.91 635 3/14/2023
1.2.6490.90 601 3/14/2023
1.2.6490.89 561 3/14/2023
1.2.6464.646 654 2/16/2023
1.2.6464.613 656 2/16/2023
1.2.6427.763 691 1/10/2023
1.2.6427.754 689 1/10/2023
1.2.6427.752 705 1/10/2023
1.2.6424.216 702 1/7/2023
1.2.6402.1373 721 12/16/2022
1.1.6360.850 658 12/14/2022
1.1.6347.236 839 12/1/2022