Click or drag to resize

TaskModel Class

The Task class defines a task that must be completed by the user to progress in the simulation.
Inheritance Hierarchy

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class TaskModel : AssignmentModel

The TaskModel type exposes the following members.

Constructors
  NameDescription
Public methodTaskModel
Initializes a new instance of the TaskModel class
Top
Properties
  NameDescription
Public propertyAllowRotationHint
To manually allow the rotation hint showing up or not when this specific task is active
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyAutoPlayActions
Public propertyAutoStart
Public propertyClicksAttempt
Returns the number of clicks made by the User while completing the Task.
(Inherited from AssignmentModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCompletedActions
Public propertyCompletedActionsInvoked
Returns true if CompletedActions for Task were invoked.
Public propertyCompletedTime (Inherited from AssignmentModel.)
Public propertyCompletedTimeSerialized
Returns the time at which the Task was completed.
(Inherited from AssignmentModel.)
Public propertyCompletedWhen
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyDescription
Displays a description of the object to the user.
(Inherited from TriggableModel.)
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyFailedActions
Public propertyFailedWhen
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyImageId
Defines the image to display when the user clicks the View Image button.
Public propertyInstructions
Displays instructions to the user on how to complete the Task.
Public propertyIsCompleted
Returns true if the Task has been completed by the user.
(Inherited from AssignmentModel.)
Public propertyIsCompleting
Returns true if CompletedWhen.IsMatch was true in the past.
Public propertyIsFailing
Returns true if FailedWhen.IsMatch was true in the past.
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsLogHidden
Hides this Assignment from the Mission tab in the LabPad.
(Inherited from AssignmentModel.)
Public propertyIsMuted
Disables the voice-over for the Instructions in this Task.
Public propertyIsSkipped
Returns true if the Task has been skipped by the user.
Public propertyIsSkipping
Returns true if SkippedWhen.IsMatch was true in the past.
Public propertyIsUnlocked
Returns true if the Task is available to the user.
(Inherited from AssignmentModel.)
Public propertyLabPadHintDelay
The duration of the delay (in second) before the LabPad hint is triggered. Defaults to 0. If -1 is specified, the LabPad hint will be disabled.
Public propertyNavigatables
The list to determine the only navigatables to navigate in the current task for Accessibility Mode. The Ids listed here are separated by ';'.
Public propertyReadMoreUrl
Targets the Wiki content to be displayed when the user clicks on the View Theory button.
Public propertySecondsSpent
Returns the number of seconds the user spent completing the Task.
(Inherited from AssignmentModel.)
Public propertyShowNavigatablesHint
Indicated whether the show navigables hint button should be shown or not.
Public propertySkippedActions
Public propertySkippedActionsInvoked
Returns true if SkippedActions for Task were invoked.
Public propertySkippedWhen
Public propertyStartActions
Public propertyStartTime (Inherited from AssignmentModel.)
Public propertyStartTimeSerialized
Returns the time at which the Task was started.
(Inherited from AssignmentModel.)
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTitle
Defines a title for the object.
(Inherited from TriggableModel.)
Public propertyTriggers (Inherited from TriggableModel.)
Public propertyTriggersSerialized
Lists the available Triggers for this object.
(Inherited from TriggableModel.)
Public propertyVoiceId
Selects the Id of the Voice to be used for the Task Title or Instruction.
Public propertyWeight
Defines the relative weight of this Task in the overall progress.
Public propertyWikiMarkdownId
The Markdown Id of theory page where ReadMoreUrl will be displayed.
Public propertyXmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
Methods
  NameDescription
Public methodDeepCopy
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.)
Public methodShallowCopy (Inherited from BaseModel.)
Public methodShouldSerializeTriggers (Inherited from TriggableModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseModel.)
Public methodUpdateModels
This method will update this model and all its child models.
(Inherited from BaseModel.)
Top
See Also