Sharpify 1.5.0

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

// Install Sharpify as a Cake Tool
#tool nuget:?package=Sharpify&version=1.5.0                

CHANGELOG

  • BREAKING StringBuffers and AllocatedStringBuffers constructor have been made internal, to enforce usage of the factory methods. The factory methods of both are now under StringBuffer and vary by name to indicate the type you are getting back. StringBuffer.Rent(capacity) will return a StringBuffer which rents memory from the array pool. And StringBuffer.Create(Span{char}) will return an AllocatedStringBuffer which works on pre-allocated buffer. StringBuffer still implements IDisposable so should be used together with a using statement or keyword. Also, the implicit converters should now be prioritized to be inlined by the compiler.
    • It should be noted that in some cases JetBrains Rider marks it an error when the implicit operator to string is used in return statements of a method, this is not an actual error, it compiles and works fine, rather seems as an intellisense failure. If this bothers you, use .Allocate(true) instead, it does the same thing.
  • Added newer faster and memory memory efficient concurrent APIs whose entry point is AsyncLocal<IList<T>>, for more information check the updated Parallel section in the repo Wiki.
  • Added Dictionary{K,V}.CopyTo((K,V)[], index) extension (as built-in one isn't available without casting.)
  • Added RentBufferAndCopyEntries(Dictionary<K,V>) extension method that returns a tuple of the reference to the rented buffer and array segment over the buffer with the correct range, simplifying renting buffers for a copy of the dictionary contents to perform parallel operations on it.
  • Added ReturnRentedBuffer(T[]) extension to supplement the entry above, or with any ArrayPool<T>.Shared.Rent call.
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 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.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Sharpify:

Package Downloads
PrettyConsole

High performance, feature rich and easy to use wrap over System.Console

Sharpify.Data

An extension of Sharpify, focused on Data

Sharpify.CommandLineInterface

An extension of Sharpify, focused on creating command line interfaces

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.5.0 307 11/13/2024
2.4.0 414 10/21/2024
2.4.0-alpha 187 10/8/2024
2.2.0 554 7/26/2024
2.1.0 93 7/18/2024
2.0.0 157 6/3/2024
1.8.1 113 5/30/2024
1.8.0 124 4/17/2024
1.7.3 186 1/29/2024
1.7.2 129 1/23/2024
1.7.1 245 1/20/2024
1.7.0 100 1/20/2024
1.6.0 137 1/15/2024
1.5.0 122 1/10/2024
1.4.2 127 1/8/2024
1.4.1 167 1/4/2024
1.4.0 148 1/4/2024
1.3.1 139 12/31/2023
1.3.0 138 12/31/2023
1.2.0 139 12/24/2023
1.1.0 160 12/7/2023
1.0.9 124 12/7/2023
1.0.8 162 11/22/2023
1.0.7 134 9/23/2023
1.0.6 154 8/21/2023
1.0.5 169 5/4/2023
1.0.4 166 4/23/2023
1.0.3 172 4/19/2023
1.0.2 177 4/19/2023
1.0.1 185 4/14/2023
1.0.0 180 4/14/2023