VOOZH about

URL: https://www.nuget.org/packages/CodeHelper.Core.Extensions/

⇱ NuGet Gallery | CodeHelper.Core.Extensions 1.4.2




👁 Image
CodeHelper.Core.Extensions 1.4.2

dotnet add package CodeHelper.Core.Extensions --version 1.4.2
 
 
NuGet\Install-Package CodeHelper.Core.Extensions -Version 1.4.2
 
 
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="CodeHelper.Core.Extensions" Version="1.4.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeHelper.Core.Extensions" Version="1.4.2" />
 
Directory.Packages.props
<PackageReference Include="CodeHelper.Core.Extensions" />
 
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 CodeHelper.Core.Extensions --version 1.4.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeHelper.Core.Extensions, 1.4.2"
 
 
#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 CodeHelper.Core.Extensions@1.4.2
 
 
#: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=CodeHelper.Core.Extensions&version=1.4.2
 
Install as a Cake Addin
#tool nuget:?package=CodeHelper.Core.Extensions&version=1.4.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

CodeHelper.Core.Extenions

CodeHelper.Core.Extensions provides useful and fun extensions, to make coding easier and simpler

Info + Question?

Support

If you use this package in a commercial way, please think of supporting the developer:

Versions

  • 1.4.2: string.ToCamelCase(), string.CountWords(), string.CountMinutesRead()
  • 1.3.9: HtmlToMakdown + MarkDownToHtml Extension added + Optimization of regex.
  • 1.2.0: StringExtenions: IsPalladium, Repea string X times, split string in block of X characters, CleanUrl + Cool Reflection related Extensions
  • 1.1.0: Enum Descriptions now Use System.ComponentModel Description Attribute, IsPalladium, Repeat Strings
  • 1.0.0: Retrieve the string representation of an Enum value

Use the plugin as follows:

 using System.ComponentModel;

 public enum Countries
 {
 [Description("United States of Amercia")] UnitedStates,
 [Description("Belgium, Belgi�, Belgique")] Belgium, 
 France
 }

You add add a userfriendly representation to your enum values, by using the attribute Description

Code with List + Markdown

 using CodeHelper.Core.Extenions;
 Console.WriteLine(Countries.Belgium.ToString());
 Console.WriteLine(Countries.Belgium.Description());
 Console.WriteLine(Countries.France.Description());

Result:

Belgium Belgium, Belgie, Belgique France

In case no Description attribute is available, the Enum Name will be returned (example France)

Html to markdown

 using CodeHelper.Core.Extenions;
 string _stringHtml = "<html>...<ol><li>...."
 Console.WriteLine(_stringHtml.HtmlToMarkDown()); 
Product Versions Compatible and additional computed target framework versions.
.NET net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on CodeHelper.Core.Extensions:

Package Downloads
XParserLibrary.Core

Package Description

CodeHelper.Core.PlaceHolder

Replace placeholders in any text with the values of the given object

CodeHelper.Core.OAuth2

CodeHelper.Core.OAuth2 is a lightweight and easy to use .NET OAuth Wrapper (Mostly used by the CodeHelper.API packages

CodeHelper.API.Pinterest

CodeHelper.API.Pinterest is a lightweight and easy to use .NET Pinterest Wrapper letting you to manage your baords and pins (including create, update and delete For more information and a list of endpoints available, please see the detailed documentation pages below.

CodeHelper.Core.Database.SqlServer

CodeHelper.Core.Database.SqlServer is a modern lightweight database mapper for .NET Reduce the code and map easily your stored procedures to a object, set value of an object from the database, get lists from database and more...

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.2 9,345 10/31/2022
1.4.1 2,556 9/24/2022
1.3.9 4,482 9/20/2022
1.3.8 581 9/19/2022
1.3.7 601 9/17/2022
1.3.6 1,060 9/16/2022
1.3.5 610 9/15/2022
1.3.4 714 9/15/2022 1.3.4 is deprecated because it has critical bugs.
1.3.3 604 9/15/2022
1.3.2 586 9/15/2022
1.3.1 591 9/14/2022
1.3.0 651 9/14/2022
1.2.0 706 9/13/2022
1.1.0 595 9/11/2022
1.0.0 577 9/10/2022