Class TypedParameter
Represents a parameter that has a Model
Inheritance
Implements
Inherited Members
Namespace: TimeCockpit.Data.DataModel.Actions
Assembly: TimeCockpit.Data.dll
Syntax
public class TypedParameter : ModelActionParameterDefinition, IDynamicMetaObjectProvider, INotifyPropertyChanged
Remarks
In order to create a valid instance of Typed
Optionally, the name of an Entity
Constructors
TypedParameter()
Initializes a new instance of the TypedParameter class
Declaration
public TypedParameter()
TypedParameter(IEnumerable<KeyValuePair<Object, Object>>)
Initializes a new instance of the TypedParameter class.
Declaration
public TypedParameter(IEnumerable<KeyValuePair<object, object>> properties)
Parameters
Type | Name | Description |
---|---|---|
System. |
properties | Collection of properties. |
Properties
ModelEntity
Gets or sets the Model
Declaration
public override ModelEntityBase ModelEntity { get; set; }
Property Value
Type | Description |
---|---|
Model |
Overrides
Remarks
During the validation process of a Model
ModelEntityForm
Gets or sets a string representing the name of an Form for a Typed
Declaration
public string ModelEntityForm { get; set; }
Property Value
Type | Description |
---|---|
System. |
ModelEntityName
Gets or sets the name of the Model
Declaration
public string ModelEntityName { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
This property should not be set. It is only used for deferred loading (deserialization) of Typed
Methods
Clone()
Creates a deep copy of the model action parameter definition.
Declaration
public override ModelActionParameterDefinition Clone()
Returns
Type | Description |
---|---|
Model |
Returns a deep copy of the model action parameter definition. |
Overrides
GetModelEntity()
Gets the Model
Declaration
public override ModelEntityBase GetModelEntity()
Returns
Type | Description |
---|---|
Model |
An instance of Model |