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
- Host: GitHub
- URL: https://github.com/hazzik/spandeconstructors
- Owner: hazzik
- License: mit
- Created: 2019-11-01T05:09:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-01T05:32:05.000Z (over 6 years ago)
- Last Synced: 2025-02-02T22:37:52.421Z (about 1 year ago)
- Topics: deconstructor, span
- Language: Pascal
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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
```