SpanDeconstructors.Source 1.0.0

Install-Package SpanDeconstructors.Source -Version 1.0.0
dotnet add package SpanDeconstructors.Source --version 1.0.0
<PackageReference Include="SpanDeconstructors.Source" Version="1.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpanDeconstructors.Source --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SpanDeconstructors.Source, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SpanDeconstructors.Source as a Cake Addin
#addin nuget:?package=SpanDeconstructors.Source&version=1.0.0

// Install SpanDeconstructors.Source as a Cake Tool
#tool nuget:?package=SpanDeconstructors.Source&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SpanDeconstructors

SpanDeconstructors is a source package which allows you to use C# 7 deconstruction syntax to deconstruct span into variables:

Span<int> span = <...>;
var (a,b) = span;

Implementation notes

  • The decision has been made such that there are no safety checks on the deconstruction methods.

Installation

You can install from NuGet using following command:

> Install-Package SpanDeconstructors.Source

This package has 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.0.0 237 11/1/2019