-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLink.cs
More file actions
29 lines (24 loc) · 745 Bytes
/
Link.cs
File metadata and controls
29 lines (24 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using OwlCore.Storage;
namespace WindowsAppCommunity.Sdk;
/// <summary>
/// Represents the data for a link.
/// </summary>
public class Link : IStorable
{
/// <summary>
/// A unique identifier for this Link that is persistent across runs and property updates.
/// </summary>
public required string Id { get; init; }
/// <summary>
/// The external url this link points to.
/// </summary>
public required string Url { get; set; }
/// <summary>
/// A display name for this link.
/// </summary>
public required string Name { get; set; }
/// <summary>
/// A description of this link (for accessibility or display).
/// </summary>
public required string Description { get; set; }
}