Table of Contents

Class GroupUpdated

Namespace
Signal.Domain.Events
Assembly
Signal.Domain.dll

A group's name, members or settings changed (for example because the account was added to it).

public sealed record GroupUpdated : DomainEvent, IDomainEvent, IEquatable<DomainEvent>, IEquatable<GroupUpdated>
Inheritance
GroupUpdated
Implements
Inherited Members

Remarks

Signal only reports that the group changed, not what changed. Compare Revision with a stored value, or fetch the group with IGroupService.GetAsync, to find out.

Constructors

GroupUpdated(IncomingEnvelope, GroupId)

A group's name, members or settings changed (for example because the account was added to it).

public GroupUpdated(IncomingEnvelope Envelope, GroupId Group)

Parameters

Envelope IncomingEnvelope

The envelope that produced the event.

Group GroupId

The changed group.

Remarks

Signal only reports that the group changed, not what changed. Compare Revision with a stored value, or fetch the group with IGroupService.GetAsync, to find out.

Properties

Group

The changed group.

public GroupId Group { get; init; }

Property Value

GroupId

Name

The group's name after the change, if reported.

public string? Name { get; init; }

Property Value

string

Revision

The group's revision after the change; it increases with every change to the group.

public int? Revision { get; init; }

Property Value

int?