Click or drag to resize

PlayHistoryModel Class

The PlayHistoryModel keeps track of replays of simulations for automated testing.
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 PlayHistoryModel : BaseModel, 
	IPlayHistoryModel

The PlayHistoryModel type exposes the following members.

Constructors
  NameDescription
Public methodPlayHistoryModel
Initializes a new instance of the PlayHistoryModel class
Top
Properties
  NameDescription
Public propertyAsserts
Defines a collection of asserts to verify at the end of each replay of a task to ensure that it was successfully completed.
Public propertyAssertsSerialized
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyRandomSeed
Ensures random generators during a replay generate the same random numbers to ensure each replay is fully identical.
Public propertyReplays
Contains a collection of replays with instructions on how to replay a simulation.
Public propertyReplaysSerialized
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
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 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
Remarks
Play History files can be automatically generated by recording a play of a simulation. See Livit.Learn.Settings.Setup.IsPlayHistoryRecordMode for more information.
See Also