Skip to content

Commit 2443bf4

Browse files
committed
Inherit from IHasId for consistency
1 parent 7e92bb3 commit 2443bf4

5 files changed

Lines changed: 13 additions & 5 deletions

src/IReadOnlyAccentColor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
using OwlCore.ComponentModel;
2+
13
namespace WindowsAppCommunity.Sdk;
24

35
/// <summary>
46
/// Represents an accent color that cannot be updatd.
57
/// </summary>
6-
public interface IReadOnlyAccentColor
8+
public interface IReadOnlyAccentColor : IHasId
79
{
810
/// <summary>
911
/// A hex-encoded accent color for this publisher.

src/IReadOnlyConnectionsCollection.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
using System.Collections.Generic;
2+
using OwlCore.ComponentModel;
23

34
namespace WindowsAppCommunity.Sdk;
45

56
/// <summary>
67
/// Represents a modifiable connections collection.
78
/// </summary>
8-
public interface IReadOnlyConnectionsCollection
9+
public interface IReadOnlyConnectionsCollection : IHasId
910
{
1011
/// <summary>
1112
/// Gets the connections associated with this entity.

src/IReadOnlyFeaturesCollection.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
using OwlCore.ComponentModel;
2+
13
namespace WindowsAppCommunity.Sdk;
24

35
/// <summary>
46
/// Represents a collection of features that can be read but not modified.
57
/// </summary>
6-
public interface IReadOnlyFeaturesCollection
8+
public interface IReadOnlyFeaturesCollection : IHasId
79
{
810
/// <summary>
911
/// A list of features provided by this project.

src/IReadOnlyImagesCollection.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
using System.Collections.Generic;
2+
using OwlCore.ComponentModel;
23
using OwlCore.Storage;
34

45
namespace WindowsAppCommunity.Sdk;
56

67
/// <summary>
78
/// Represents a collection of images.
89
/// </summary>
9-
public interface IReadOnlyImagesCollection
10+
public interface IReadOnlyImagesCollection : IHasId
1011
{
1112
/// <summary>
1213
/// Gets the image files in this collection.

src/IReadOnlyLinksCollection.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
using OwlCore.ComponentModel;
2+
13
namespace WindowsAppCommunity.Sdk;
24

35
/// <summary>
46
/// Represents a read-only collection of links.
57
/// </summary>
6-
public interface IReadOnlyLinksCollection
8+
public interface IReadOnlyLinksCollection : IHasId
79
{
810
/// <summary>
911
/// Represents links to external profiles or resources added by the entity.

0 commit comments

Comments
 (0)