Sharpify 1.8.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Sharpify --version 1.8.0
NuGet\Install-Package Sharpify -Version 1.8.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.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sharpify --version 1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sharpify, 1.8.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.8.0 // Install Sharpify as a Cake Tool #tool nuget:?package=Sharpify&version=1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CHANGELOG
v1.8.0
AllocatedStringBuffer
now has variation that accepts achar[]
as input buffer, this version which also has a corresponding overload inStringBuffer.Create
supports an implicit converter toReadOnlyMemory<char>
, intellisense will allow you to use this converter even you usedSpan<char>
as a buffer, but doing so will cause an exception to be thrown, as aSpan<char>
can bestack allocated
and won't be able to be referenced.- The method above paved the way to creating a
FormatNonAllocated(TimeSpan)
,ToRemainingDurationNonAllocated(TimeSpan)
,ToTimeStampNonAllocated(TimeSpan)
, andFormatBytesNonAllocated(double)
, these overloads would format directly to span, and return a slice, this would completely bypass thestring
allocation, which would've otherwise caused large amounts of GC overhead in frequent calls. - Added
ToArrayFast(List)
andToListFast(Array)
extension methods, that efficiently create an array from list and the other way around. SerializableObject<T>
andMonitoredSerializableObject<T>
now require aJsonTypeInfo<T>
instead of aJsonSerializerContext
to improve type safety, as theJsonSerializerContext
overloads cannot verify that the context has any implementation for the type, potentially leading to exceptions at runtime.
Product | Versions 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 | 276 | 11/13/2024 |
2.4.0 | 406 | 10/21/2024 |
2.4.0-alpha | 185 | 10/8/2024 |
2.2.0 | 552 | 7/26/2024 |
2.1.0 | 91 | 7/18/2024 |
2.0.0 | 153 | 6/3/2024 |
1.8.1 | 111 | 5/30/2024 |
1.8.0 | 122 | 4/17/2024 |
1.7.3 | 182 | 1/29/2024 |
1.7.2 | 127 | 1/23/2024 |
1.7.1 | 243 | 1/20/2024 |
1.7.0 | 98 | 1/20/2024 |
1.6.0 | 135 | 1/15/2024 |
1.5.0 | 120 | 1/10/2024 |
1.4.2 | 125 | 1/8/2024 |
1.4.1 | 165 | 1/4/2024 |
1.4.0 | 146 | 1/4/2024 |
1.3.1 | 137 | 12/31/2023 |
1.3.0 | 136 | 12/31/2023 |
1.2.0 | 137 | 12/24/2023 |
1.1.0 | 158 | 12/7/2023 |
1.0.9 | 122 | 12/7/2023 |
1.0.8 | 160 | 11/22/2023 |
1.0.7 | 132 | 9/23/2023 |
1.0.6 | 152 | 8/21/2023 |
1.0.5 | 167 | 5/4/2023 |
1.0.4 | 164 | 4/23/2023 |
1.0.3 | 170 | 4/19/2023 |
1.0.2 | 175 | 4/19/2023 |
1.0.1 | 183 | 4/14/2023 |
1.0.0 | 178 | 4/14/2023 |