using System.Collections.Generic; namespace xAPI.Registry { /// /// Provides all extensions of the context generic of type activity as public properties. /// public sealed class xAPI_Extensions_Activity_Generic : xAPI_Extensions_Activity { public xAPI_Extensions_Activity_Generic() : base("generic") { } /// /// The color of an object. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/color /// public xAPI_Extensions_Activity_Generic color(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "color", names: new Dictionary { ["en-US"] = "color", ["de-DE"] = "Color" }, descriptions: new Dictionary { ["en-US"] = "The color of an object.", ["de-DE"] = "Das Farbe eines Objekts." }), value); return this; } /// /// A relative or absolute file path of a file. Can be used to provide the filepath for a file-activity. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/filepath /// public xAPI_Extensions_Activity_Generic filepath(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "filepath", names: new Dictionary { ["en-US"] = "file path", ["de-DE"] = "Dateipfad" }, descriptions: new Dictionary { ["en-US"] = "A relative or absolute file path of a file. Can be used to provide the filepath for a file-activity.", ["de-DE"] = "Ein relativer oder absoluter Dateipfad. Kann genutzt werden um den Dateipfad eine Dateiaktivität anzugeben." }), value); return this; } /// /// The button of the keyboard. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/keyboardButton /// public xAPI_Extensions_Activity_Generic keyboardButton(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "keyboardButton", names: new Dictionary { ["en-US"] = "keyboard button", ["de-DE"] = "Tastatur Taste" }, descriptions: new Dictionary { ["en-US"] = "The button of the keyboard.", ["de-DE"] = "Eine Taste der Tastatur." }), value); return this; } /// /// The button of a mouse. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/mouseButton /// public xAPI_Extensions_Activity_Generic mouseButton(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "mouseButton", names: new Dictionary { ["en-US"] = "mouse button", ["de-DE"] = "Maus Taste" }, descriptions: new Dictionary { ["en-US"] = "The button of a mouse.", ["de-DE"] = "Die Taste einer Maus." }), value); return this; } /// /// The position of the mouse. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/mousePosition /// public xAPI_Extensions_Activity_Generic mousePosition(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "mousePosition", names: new Dictionary { ["en-US"] = "mouse position", ["de-DE"] = "Maus Position" }, descriptions: new Dictionary { ["en-US"] = "The position of the mouse.", ["de-DE"] = "Die Position der Maus." }), value); return this; } /// /// Name of activity target. Must be a string. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/name /// public xAPI_Extensions_Activity_Generic name(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "name", names: new Dictionary { ["en-US"] = "name", ["de-DE"] = "Name" }, descriptions: new Dictionary { ["en-US"] = "Name of activity target. Must be a string.", ["de-DE"] = "Name der Zielaktivität. Muss ein String sein." }), value); return this; } /// /// An number or other identifier (e.g. 'top', 'bottom') to identify the position of an element inside a colletion such as an list of elements. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/position /// public xAPI_Extensions_Activity_Generic position(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "position", names: new Dictionary { ["en-US"] = "position", ["de-DE"] = "Position" }, descriptions: new Dictionary { ["en-US"] = "An number or other identifier (e.g. 'top', 'bottom') to identify the position of an element inside a colletion such as an list of elements.", ["de-DE"] = "Eine Nummer oder ein anderer Kennzeichnung einer Position eines Elementes einer Sammlung wie zum Beispliel einer Liste von Elementen." }), value); return this; } /// /// The scroll value of a trackpad or mouse wheel. /// URI: https://xapi.elearn.rwth-aachen.de/definitions/generic/extensions/activity/scrollValue /// public xAPI_Extensions_Activity_Generic scrollValue(object value) { Add(new xAPI_Extension( context: Context, extensionType: ExtensionType, key: "scrollValue", names: new Dictionary { ["en-US"] = "scroll value", ["de-DE"] = "Skrollwert" }, descriptions: new Dictionary { ["en-US"] = "The scroll value of a trackpad or mouse wheel.", ["de-DE"] = "Die Skrollwert vom Trackpad oder Mausrad." }), value); return this; } } }