Code311.Core 8.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Code311.Core --version 8.1.1                
NuGet\Install-Package Code311.Core -Version 8.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="Code311.Core" Version="8.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Code311.Core --version 8.1.1                
#r "nuget: Code311.Core, 8.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 Code311.Core as a Cake Addin
#addin nuget:?package=Code311.Core&version=8.1.1

// Install Code311.Core as a Cake Tool
#tool nuget:?package=Code311.Core&version=8.1.1                

Code311.Core

Extensions

This package has following extension methods to suit nearly all use cases 😉

CharExtensions

  • GetNumericValue()
  • GetUnicodeCategory()
  • IsControl()
  • IsDigit()
  • IsHighSurrogate()
  • IsLetter()
  • IsLetterOrDigit()
  • IsLower()
  • IsLowSurrogate()
  • IsNumber()
  • IsPunctuation()
  • IsSeparator()
  • IsSurrogate()
  • IsSymbol()
  • IsUpper()
  • IsWhiteSpace()
  • ToLower()
  • ToLowerInvariant()
  • ToUpper()
  • ToUpperInvariant()

CryptoExtensions

  • EncryptAsync()
  • DecryptAsync()

DateTimeExtensions

  • AgeInYears()
  • Age()
  • IsWeekend()
  • IsBetween()
  • AddWorkdays()
  • ToHumanTimeString()
  • GetLastDayOfMonth()
  • IsLeapYear()

IntegerExtensions

  • IsInRange()

DoubleExtensions

  • IsInfinity()
  • IsNaN()
  • IsNegativeInfinity()
  • IsPositiveInfinity()

FloatExtensions

  • IsInfinity()
  • IsNaN()
  • IsNegativeInfinity()
  • IsPositiveInfinity()

JsonExtensions

  • ToJson()
  • ToObject()
  • ToXML()

StringCompareExtensions

  • Compare()
  • CompareOrdinal()
  • ConvertToUtf32()
  • Copy()
  • EqualsCurrentCulture()
  • EqualsCurrentCultureIgnoreCase()
  • EqualsInvariantCulture()
  • EqualsInvariantCultureIgnoreCase()
  • EqualsOrdinal()
  • EqualsOrdinalIgnoreCase()
  • GetNumericValue()
  • GetUnicodeCategory()
  • IsControl()
  • IsDigit()
  • IsHighSurrogate()
  • IsLetter()
  • IsLetterOrDigit()
  • IsLower()
  • IsLowSurrogate()
  • IsNumber()
  • IsPunctuation()
  • IsSeparator()
  • IsSurrogate()
  • IsSurrogatePair()
  • IsSymbol()
  • IsUpper()
  • IsWhiteSpace()
  • ToBool()
  • ToByte()
  • ToChar()
  • ToDateTime()
  • ToDecimal()
  • ToDouble()
  • ToFloat()
  • ToInt()
  • ToLong()
  • ToShort()
  • TryParse()
  • ParseBool()
  • ParseByte()
  • HtmlEncode()
  • HtmlDecode()
  • ParseQueryString()

StringExtensions

  • IsDigit()
  • IsEmail()
  • IsComplexPassword()
  • Capitalize()
  • TitleCaseString()
  • WordCount()
  • FormatWithMask()
  • ToEnum<T>()
  • Right()
  • Left()
  • Format()
  • StripHtml()
  • ToCamelCase()
  • Mask()
  • Truncate()
  • ToProperCase()
  • IsGuid()
  • IsValidUrl()

FileTypeExtensions

  • GetFileType()

EnumerableExtensions

  • Shuffle<T>()

ExceptionExtensions

  • ToException()
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Code311.Core:

Package Downloads
Code311.Domain.Core

Package for implementing DDD pattern with Entity Framework Core

Code311.Web.Api.Core

Package for implementing core packages for Web API and best practices

GitHub repositories

This package is not used by any popular GitHub repositories.

This package will be extensively maintained