zeitgeist-sharp : Zeitgeist.Datamodel Namespace

Event Class

Core data structure in the Zeitgeist framework. It is an optimized and convenient representation of an event. This class is designed so that you can pass it directly over DBus using the Python DBus bindings. It will automagically be marshalled with the signature a(asaasay).

public class Event

Remarks

This class does integer based lookups everywhere and can wrap any conformant data structure without the need for marshalling back and forth between DBus wire format. These two properties makes it highly efficient and is recommended for use everywhere.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Members

See Also: Inherited members from object.

Public Constructors

Event ()
A parameterless constructor

Public Properties

Actor string . The application or entity responsible for emitting the event. For applications the format of this field is base filename of the corresponding .desktop file with an app:// URI scheme. For example /usr/share/applications/firefox.desktop is encoded as app://firefox.desktop
Id ulong . Event id if the event has one
Interpretation NameUri . The Interpretation of the event
Manifestation NameUri . The Manifestation of the event
Origin string . Origin of the Event
Payload byte[]. Free form attachment for the event
Subjects List<Subject> . All the Subjects attached with the Event
Timestamp DateTime . Event timestamp defined as milliseconds since the Epoch. By default it is set to the moment of instance creation

Member Details

Event Constructor

A parameterless constructor

public Event ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Actor Property

The application or entity responsible for emitting the event. For applications the format of this field is base filename of the corresponding .desktop file with an app:// URI scheme. For example /usr/share/applications/firefox.desktop is encoded as app://firefox.desktop

public string Actor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Id Property

Event id if the event has one

public ulong Id { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Interpretation Property

The Interpretation of the event

public NameUri Interpretation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Manifestation Property

The Manifestation of the event

public NameUri Manifestation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Origin Property

Origin of the Event

public string Origin { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Payload Property

Free form attachment for the event

public byte[] Payload { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Subjects Property

All the Subjects attached with the Event

public List<Subject> Subjects { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0

Timestamp Property

Event timestamp defined as milliseconds since the Epoch. By default it is set to the moment of instance creation

public DateTime Timestamp { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Zeitgeist.Datamodel
Assembly: zeitgeist-sharp (in zeitgeist-sharp.dll)
Assembly Versions: 0.8.0.0