ParameterModel Class |
Namespace: Livit.Learn.Model
[SerializableAttribute] public class ParameterModel : BaseModel
The ParameterModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | ParameterModel | Initializes a new instance of the ParameterModel class |
Name | Description | |
---|---|---|
![]() | Attached |
Defines an attached property.
(Inherited from BaseModel.) |
![]() | Comments |
(Development) Includes comments in the XML code.
(Inherited from BaseModel.) |
![]() ![]() | DataContext |
Contains a source of all bindings defined for element.
(Inherited from BaseModel.) |
![]() | ExternalXmlPath | (Inherited from BaseModel.) |
![]() | Id |
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.) |
![]() | IsIdAutogenerated | (Inherited from BaseModel.) |
![]() | TemplateVersionId |
Contains a id of source template.
(Inherited from BaseModel.) |
![]() | Value |
Sets the value of the Parameter.
|
![]() | XmlComments |
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.) |
Name | Description | |
---|---|---|
![]() | DeepCopy |
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.) |
![]() | ShallowCopy | (Inherited from BaseModel.) |
![]() | ToString |
Returns a string that represents the current object.
(Inherited from BaseModel.) |
![]() | UpdateModels |
This method will update this model and all its child models.
(Inherited from BaseModel.) |
The Parameter behaves in the same fashion as a public variable in programming. It needs to be declared before being used. Once it has, its value can be changed using a Setter.
<Parameters> <Parameter Id="Temperature" Value="22" /> <Parameter Id="RemainingHours" Value="2" /> </Parameters>