-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update open-source software references
- Loading branch information
Showing
5 changed files
with
84 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
JetBrains.Etw.HostService.Updater/src/ViewModel/LicenseItemViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using JetBrains.Annotations; | ||
|
||
namespace JetBrains.Etw.HostService.Updater.ViewModel | ||
{ | ||
internal sealed class LicenseItemViewModel | ||
{ | ||
public LicenseItemViewModel([NotNull] string packageId, [NotNull] string packageVersion, [NotNull] string licenseName, [NotNull] Uri licenseUri) | ||
{ | ||
PackageId = packageId ?? throw new ArgumentNullException(nameof(packageId)); | ||
PackageVersion = packageVersion ?? throw new ArgumentNullException(nameof(packageVersion)); | ||
LicenseName = licenseName ?? throw new ArgumentNullException(nameof(licenseName)); | ||
LicenseUri = licenseUri ?? throw new ArgumentNullException(nameof(licenseUri)); | ||
} | ||
|
||
public string PackageId { get; } | ||
public string PackageVersion { get; } | ||
public Uri LicenseUri { get; } | ||
public string LicenseName { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters