FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
velopack/samples/SampleHelper.cs at develop · velopack/velopack · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
velopack
/
velopack
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
148
Star
2.3k
Code
Issues
39
Pull requests
16
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
velopack
/
samples
/
SampleHelper.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 336 Bytes
Breadcrumbs
velopack
/
samples
/
SampleHelper.cs
Copy path
File metadata and controls
12 lines (11 loc) · 336 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
using
System
.
Linq
;
using
System
.
Reflection
;
#nullable enable
internal
static
class
SampleHelper
{
public
static
string
?
GetReleasesDir
(
)
=>
Assembly
.
GetEntryAssembly
(
)
?
.
GetCustomAttributes
<
AssemblyMetadataAttribute
>
(
)
.
Where
(
x
=>
x
.
Key
==
"VelopackSampleReleaseDir"
)
.
Single
(
)
.
Value
;
}
#nullable restore
Back
|
FazBrowse Home
|
New Git URL