MrDHelper 1.1.1
dotnet add package MrDHelper --version 1.1.1
NuGet\Install-Package MrDHelper -Version 1.1.1
<PackageReference Include="MrDHelper" Version="1.1.1" />
paket add MrDHelper --version 1.1.1
#r "nuget: MrDHelper, 1.1.1"
// Install MrDHelper as a Cake Addin #addin nuget:?package=MrDHelper&version=1.1.1 // Install MrDHelper as a Cake Tool #tool nuget:?package=MrDHelper&version=1.1.1
<div id="top"></div>
<br /> <div align="center"> <a href="https://github.com/dattiphu2022/MrDHelper"> <img src="Images/logo.jpg" alt="Logo" width="80" height="80"> </a>
<h3 align="center">Mrd common use helper</h3> </div>
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
</li>
<li><a href="#usage">Usage</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ol>
</details>
About The Project
This project is providing "extension methods" that are usually used in short way.
Usage
- Reference to MrdHelper
using MrdHelper
- Use the extension methods that you want.
IEnumerable<T>?.ForEach<T>(Action<T>);
IEnumerable<T>?.ForEachAsync<T>(Fun<T,Task>) //awaitable, eg: await IEnumerable<T>?.ForEachAsync(async (t)=> { await Task.Delay(10); });
IList<T>.AddDummyItemsToMaximumCountOf<T>(int collectionFinalCount, T fillValue);
<T>.IsNull(); <T>.NotNull();
bool?.IsFalse(); bool?.IsTrue();
bool?.NotFalse(); bool?.NotTrue();
"string".GetMd5();
"string".IsNullOrEmpty(); "string".IsNullOrWhiteSpace();
"string".NotNullOrEmpty(); "string".NotNullOrWhiteSpace();
TaskHelper.RunSync<TResult>(Func<Task<TResult>, TResult>); // eg: var result = TaskHelper.RunSync<TResult>(()=>GetResultAsync());
New in 1.0.8+1.0.9
var someClass = new SomeClass();
var cell = SomeClass.ConvertToCell(someClass);
cell[nameof(SomeClass.Property1)] = newValue;
var otherSomeClass = cell.ConvertTo<SomeClass>();
New in 1.1.0
New in 1.1.1 <p align="right">(<a href="#top">back to top</a>)</p>
Roadmap
- Add Common functions.
- Add more functions.
See the open issues for a full list of proposed features (and known issues).
<p align="right">(<a href="#top">back to top</a>)</p>
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
<p align="right">(<a href="#top">back to top</a>)</p>
License
Distributed under the MIT License. See LICENSE.txt
for more information.
<p align="right">(<a href="#top">back to top</a>)</p>
Contact
Nguyễn Quốc Đạt - @NguyenQuocĐat1989
Project Link: https://github.com/dattiphu2022/MrDHelper
<p align="right">(<a href="#top">back to top</a>)</p>
Acknowledgments
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!
- Choose an Open Source License
- GitHub Emoji Cheat Sheet
- Malven's Flexbox Cheatsheet
- Malven's Grid Cheatsheet
- Img Shields
- GitHub Pages
- Font Awesome
- React Icons
<p align="right">(<a href="#top">back to top</a>)</p>
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
- 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.
Remove: ConnectionStringHelper
Update: README.md for more details in documentation.