Common.BasicHelper
1.3.6863.950
dotnet add package Common.BasicHelper --version 1.3.6863.950
NuGet\Install-Package Common.BasicHelper -Version 1.3.6863.950
<PackageReference Include="Common.BasicHelper" Version="1.3.6863.950" />
paket add Common.BasicHelper --version 1.3.6863.950
#r "nuget: Common.BasicHelper, 1.3.6863.950"
// Install Common.BasicHelper as a Cake Addin #addin nuget:?package=Common.BasicHelper&version=1.3.6863.950 // Install Common.BasicHelper as a Cake Tool #tool nuget:?package=Common.BasicHelper&version=1.3.6863.950
<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>
<p align="center"> <img alt="GitHub License" src="https://img.shields.io/github/license/Crequency/Common.BasicHelper"> <img alt="GitHub workflow status" src="https://img.shields.io/github/actions/workflow/status/Crequency/Common.BasicHelper/build.yml"></img> <img alt="Nuget" src="https://img.shields.io/nuget/v/Common.BasicHelper"> <img alt="Nuget" src="https://img.shields.io/nuget/dt/Common.BasicHelper?label=nuget"> <img alt="GitHub issues" src="https://img.shields.io/github/issues/Crequency/Common.BasicHelper"> <img alt="GitHub pull requests" src="https://img.shields.io/github/issues-pr/Crequency/Common.BasicHelper"> </p>
<p align="center"> <img src="https://profile-counter.glitch.me/Crequency-Common.BasicHelper/count.svg"></img> </p>
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
<details> <summary>The output will looks like ...</summary>
<br>
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.
</details>
Usage
Math
Calculate
With Expression
class and Calculator
class, you can calculate your calculation.
See examples of Expression class and Calculator class.
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
More extensions can be find in our docs later.
We will be appreciate if you can help us with docs site.
Product | Versions 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. |
.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. |
-
.NETStandard 2.1
- Microsoft.CSharp (>= 4.7.0)
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 | 123 | 3/21/2024 |
1.3.780.500 | 118 | 3/17/2024 |
1.3.780.499 | 116 | 3/17/2024 |
1.3.775.825 | 119 | 3/12/2024 |
1.3.584.228 | 536 | 9/3/2023 |
1.3.584.218 | 373 | 9/3/2023 |
1.2.6563.407 | 494 | 5/26/2023 |
1.2.6563.404 | 492 | 5/26/2023 |
1.2.6546.627 | 536 | 5/9/2023 |
1.2.6546.623 | 490 | 5/9/2023 |
1.2.6546.581 | 487 | 5/9/2023 |
1.2.6543.304 | 500 | 5/6/2023 |
1.2.6543.302 | 461 | 5/6/2023 |
1.2.6526.232 | 519 | 4/19/2023 |
1.2.6515.1030 | 542 | 4/8/2023 |
1.2.6515.1029 | 520 | 4/8/2023 |
1.2.6498.332 | 554 | 3/22/2023 |
1.2.6498.331 | 557 | 3/22/2023 |
1.2.6490.95 | 585 | 3/14/2023 |
1.2.6490.91 | 571 | 3/14/2023 |
1.2.6490.90 | 535 | 3/14/2023 |
1.2.6490.89 | 495 | 3/14/2023 |
1.2.6464.646 | 586 | 2/16/2023 |
1.2.6464.613 | 591 | 2/16/2023 |
1.2.6427.763 | 619 | 1/10/2023 |
1.2.6427.754 | 614 | 1/10/2023 |
1.2.6427.752 | 640 | 1/10/2023 |
1.2.6424.216 | 635 | 1/7/2023 |
1.2.6402.1373 | 650 | 12/16/2022 |
1.1.6360.850 | 593 | 12/14/2022 |
1.1.6347.236 | 766 | 12/1/2022 |