Skip to content

Interface IInboxCatalog

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Exposes the inbox surfaces visible to the current runtime.

public interface IInboxCatalog

Gets all inbox surfaces visible to the current runtime.

IReadOnlyList<InboxDescriptor> Inboxes { get; }

IReadOnlyList<InboxDescriptor>

Gets all inboxes that explicitly declare the requested channel identifier.

IReadOnlyList<InboxDescriptor> GetByChannelId(string channelId)

channelId string

The channel identifier to filter by.

IReadOnlyList<InboxDescriptor>

The matching inboxes, or an empty list when no inbox declares that channel.

Gets one inbox by its stable identifier.

InboxDescriptor? GetById(string inboxId)

inboxId string

The inbox identifier to resolve.

InboxDescriptor?

The matching inbox, or null when it is not active.

Gets all inboxes backed by the requested provider identifier.

IReadOnlyList<InboxDescriptor> GetByProvider(string provider)

provider string

The provider identifier to filter by.

IReadOnlyList<InboxDescriptor>

The matching inboxes, or an empty list when the provider contributes none.

Gets all inboxes contributed by the requested module.

IReadOnlyList<InboxDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<InboxDescriptor>

The matching inboxes, or an empty list when the module contributed none.