Table of Contents

Class SubStatement

Namespace
Xapi
Assembly
Xapi.Core.dll

A Statement used as the object of another Statement, for example to record something an Actor plans to do. It has no id, stored, version or authority, and its object cannot be another SubStatement.

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

Remarks

IEEE 9274.1.1, 4.2.2.3 "Object As Sub-Statement Table".

Constructors

SubStatement(Actor, Verb, StatementObject)

Creates a SubStatement.

public SubStatement(Actor actor, Verb verb, StatementObject @object)

Parameters

actor Actor

Whom the SubStatement is about.

verb Verb

The action.

object StatementObject

What the action was done to.

Properties

Actor

Whom the SubStatement is about.

public Actor Actor { get; init; }

Property Value

Actor

Attachments

Attachment headers.

public XapiList<Attachment> Attachments { get; init; }

Property Value

XapiList<Attachment>

Context

Contextual information.

public Context? Context { get; init; }

Property Value

Context

Object

What the action was done to. Must not be another SubStatement.

public StatementObject Object { get; init; }

Property Value

StatementObject

Result

The measured outcome.

public Result? Result { get; init; }

Property Value

Result

Timestamp

When the described experience happened (may be in the future for a SubStatement).

public DateTimeOffset? Timestamp { get; init; }

Property Value

DateTimeOffset?

Verb

The action.

public Verb Verb { get; init; }

Property Value

Verb