Table of Contents

Class ContextAgent

Namespace
Xapi
Assembly
Xapi.Core.dll

An Agent related to a Statement, with the kinds of relationship (xAPI 2.0 contextAgents).

public sealed record ContextAgent : IEquatable<ContextAgent>
Inheritance
ContextAgent
Implements
Inherited Members

Remarks

IEEE 9274.1.1, 4.2.2.5 "Context Agents Table". Not available in xAPI 1.0.3.

Constructors

ContextAgent(Agent)

Creates a context agent.

public ContextAgent(Agent agent)

Parameters

agent Agent

The related Agent.

Properties

Agent

The related Agent.

public Agent Agent { get; init; }

Property Value

Agent

RelevantTypes

IRIs describing the relationship. Empty means a generic relationship (not recommended).

public XapiList<Iri> RelevantTypes { get; init; }

Property Value

XapiList<Iri>