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
TenantIdstringThe tenant the group belongs to, as a bare value.
NamestringThe group's name, bare. Unique only within
TenantId.ActivityNamestringThe 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
Name
The group's name, bare. Unique only within TenantId.
public string Name { get; init; }
Property Value
TenantId
The tenant the group belongs to, as a bare value.
public string TenantId { get; init; }