An open API service indexing awesome lists of open source software.

https://github.com/hazzik/spandeconstructors

SpanDeconstructors is a source package which allows you to use C# 7 deconstruction syntax to deconstruct spans into variables
https://github.com/hazzik/spandeconstructors

deconstructor span

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# SpanDeconstructors

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

Span 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](https://nuget.org/packages/SpanDeconstructors.Source/) using following command:

```
> Install-Package SpanDeconstructors.Source
```