Table of Contents

Struct ActivityGroupEntry

Namespace
Excalibur.A3.Authorization
Assembly
Excalibur.A3.Abstractions.dll

One activity conferred by one tenant's activity group: a single row of an activity-group catalogue.

public readonly record struct ActivityGroupEntry : IEquatable<ActivityGroupEntry>
Implements
Inherited Members

Remarks

An entry carries no validation of its own, because default can always construct one. It is validated when it is placed into an ActivityGroupCatalogue, which is the only form a store accepts for a whole-catalogue replace.

Constructors

ActivityGroupEntry(string, string, string)

One activity conferred by one tenant's activity group: a single row of an activity-group catalogue.

public ActivityGroupEntry(string TenantId, string Name, string ActivityName)

Parameters

TenantId string

The tenant the group belongs to, as a bare value.

Name string

The group's name, bare. Unique only within TenantId.

ActivityName string

The activity the group confers.

Remarks

An entry carries no validation of its own, because default can always construct one. It is validated when it is placed into an ActivityGroupCatalogue, which is the only form a store accepts for a whole-catalogue replace.

Properties

ActivityName

The activity the group confers.

public string ActivityName { get; init; }

Property Value

string

Name

The group's name, bare. Unique only within TenantId.

public string Name { get; init; }

Property Value

string

TenantId

The tenant the group belongs to, as a bare value.

public string TenantId { get; init; }

Property Value

string