SpanDeconstructors.Source 1.0.0

dotnet add package SpanDeconstructors.Source --version 1.0.0
NuGet\Install-Package SpanDeconstructors.Source -Version 1.0.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="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
#r "nuget: SpanDeconstructors.Source, 1.0.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 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

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
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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 525 11/1/2019