MrDHelper 1.1.1

dotnet add package MrDHelper --version 1.1.1                
NuGet\Install-Package MrDHelper -Version 1.1.1                
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="MrDHelper" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MrDHelper --version 1.1.1                
#r "nuget: MrDHelper, 1.1.1"                
#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.
// 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>

Contributors Forks Stargazers Issues MIT License Nuget version Nuget downloads

<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

  1. Reference to MrdHelper
  2. using MrdHelper
  3. 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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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!

<p align="right">(<a href="#top">back to top</a>)</p>

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. 
.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.1.1 263 3/27/2023
1.1.0 204 3/27/2023
1.0.9 404 7/20/2022
1.0.8 395 7/19/2022
1.0.7 433 7/15/2022
1.0.6 416 7/13/2022
1.0.5 426 7/5/2022
1.0.4 422 7/4/2022
1.0.3 431 7/4/2022
1.0.2 447 7/4/2022
1.0.1 430 7/3/2022
1.0.0 425 7/3/2022

Remove: ConnectionStringHelper
Update: README.md for more details in documentation.