Table of Contents

Class BOBNotification

Namespace
BlazOrbit.Notifications
Assembly
BlazOrbit.Notifications.dll

Single inbox entry consumed by INotificationCenter. Persistent (unlike BOBToast) - meant to live until the user marks it read or clears it.

public sealed class BOBNotification
Inheritance
object
BOBNotification

Constructors

BOBNotification()

public BOBNotification()

Properties

ActionUrl

Optional href the inbox row links to.

public string? ActionUrl { get; init; }

Property Value

string

Body

Optional body line below the title.

public string? Body { get; init; }

Property Value

string

Category

Optional category tag used for filtering.

public string? Category { get; init; }

Property Value

string

CreatedAt

Created-at timestamp. Defaults to System.DateTimeOffset.UtcNow.

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

Id

Stable identifier. Generated automatically when omitted.

public string Id { get; init; }

Property Value

string

IsRead

Read flag. Mutable so MarkReadAsync(string) can flip it without rebuilding the record.

public bool IsRead { get; set; }

Property Value

bool

Severity

Severity tier - drives icon / accent colour.

public NotificationSeverity Severity { get; init; }

Property Value

NotificationSeverity

Title

Headline rendered in the inbox.

public string Title { get; init; }

Property Value

string