-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIReadOnlyPublisher.cs
More file actions
27 lines (23 loc) · 1006 Bytes
/
IReadOnlyPublisher.cs
File metadata and controls
27 lines (23 loc) · 1006 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
using OwlCore.ComponentModel;
namespace WindowsAppCommunity.Sdk;
/// <summary>
/// Represents a publisher, a collection of projects and collaborators who publish content to users.
/// </summary>
public interface IReadOnlyPublisher : IReadOnlyPublisher<IReadOnlyPublisherRoleCollection>
{
}
/// <summary>
/// Represents a publisher, a collection of projects and collaborators who publish content to users.
/// </summary>
public interface IReadOnlyPublisher<TPublisherCollection> : IReadOnlyEntity, IReadOnlyAccentColor, IReadOnlyUserRoleCollection, IReadOnlyProjectCollection, IHasId
where TPublisherCollection : IReadOnlyPublisherCollection<IReadOnlyPublisherRole>
{
/// <summary>
/// The collection of publishers that this publisher belongs to.
/// </summary>
public TPublisherCollection ParentPublishers { get; }
/// <summary>
/// The collection of publishers that belong to this publisher.
/// </summary>
public TPublisherCollection ChildPublishers { get; }
}