FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Plotly.NET/src/Plotly.NET.CSharp/TupleExtensions.cs at refs/heads/dev · plotly/Plotly.NET · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
plotly
/
Plotly.NET
Public
Notifications
You must be signed in to change notification settings
Fork
99
Star
859
Code
Issues
42
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Plotly.NET
/
src
/
Plotly.NET.CSharp
/
TupleExtensions.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 357 Bytes
Breadcrumbs
Plotly.NET
/
src
/
Plotly.NET.CSharp
/
TupleExtensions.cs
Copy path
File metadata and controls
12 lines (11 loc) · 357 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
namespace
Plotly
.
NET
.
CSharp
;
/// <summary>
/// Convenience to convert from C# struct tuple literals to the value tuple ones.
/// </summary>
internal
static
class
TupleExtensions
{
/// <summary>
/// Converts a 2 tuple.
/// </summary>
internal
static
Tuple
<
T1
,
T2
>
ToTuple
<
T1
,
T2
>
(
this
ValueTuple
<
T1
,
T2
>
t
)
=>
Tuple
.
Create
(
t
.
Item1
,
t
.
Item2
)
;
}
Back
|
FazBrowse Home
|
New Git URL