Table of Contents

Class Group

Namespace
Xapi
Assembly
Xapi.Core.dll

A Group of Agents. An identified Group has an inverse functional identifier and may list members; an anonymous Group has no identifier and must list at least one member.

public sealed record Group : Actor, IEquatable<StatementObject>, IEquatable<Actor>, IEquatable<Group>
Inheritance
Group
Implements
Inherited Members

Remarks

IEEE 9274.1.1, 4.2.2.1 "Actor as Anonymous Group Table" and "Actor as Identified Group Table".

Constructors

Group(InverseFunctionalIdentifier)

Creates an identified Group without listed members.

public Group(InverseFunctionalIdentifier ifi)

Parameters

ifi InverseFunctionalIdentifier

The Group's identifier.

Group(XapiList<Agent>)

Creates an anonymous Group.

public Group(XapiList<Agent> members)

Parameters

members XapiList<Agent>

The members; must not be empty for the Group to be valid.

Properties

Ifi

The identifier, or null for an anonymous Group.

public InverseFunctionalIdentifier? Ifi { get; init; }

Property Value

InverseFunctionalIdentifier

IsAnonymous

Whether the Group has no identifier.

public bool IsAnonymous { get; }

Property Value

bool

Members

The members (JSON member). Unordered as far as the standard is concerned.

public XapiList<Agent> Members { get; init; }

Property Value

XapiList<Agent>