Search Results for

    Show / Hide Table of Contents

    Class Verb

    The verb of an xAPI statement

    Inheritance
    object
    Verb
    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
    System.Collections.Generic.Dictionary<TKey, TValue><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
    In This Article
    Back to top i5 Toolkit Documentation