Class Verb
The verb of an xAPI statement
Namespace: i5.Toolkit.Core.ExperienceAPI
Assembly: cs.temp.dll.dll
Syntax
public class Verb
Constructors
Verb(String)
Creates a Verb instance.
Declaration
public Verb(string verbID)
Parameters
Type | Name | Description |
---|---|---|
String | verbID | The verb ID as a URI. |
Fields
displayLanguageDictionary
The human readable representation of the Verb in one or more languages. Keys are language/region codes (e.g. en-us, es, ...). Values are the display names of the verbs in that language. Optional/Dictionary can be empty.
Declaration
public Dictionary<string, string> displayLanguageDictionary
Field Value
Type | Description |
---|---|
Dictionary<String, String> |
id
The id of the verb. MUST be an IRI. Required.
Declaration
public string id
Field Value
Type | Description |
---|---|
String |
Methods
CutToVerbName(String)
Retreives the verb name from a verb IRI. As it is standard to put the verb name at the end of an IRI, it is then possible to be retreived. E.g. 'http://test.org/x/y/z/.../verbName' gives 'verbName'.
Declaration
public static string CutToVerbName(string verbID)
Parameters
Type | Name | Description |
---|---|---|
String | verbID |
Returns
Type | Description |
---|---|
String |