Class AnonymousParameter
Represents a parameter that is NOT based on an existing ModelEntity which can be handed to a ModelAction
Inheritance
System.Object
AnonymousParameter
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.DataModel.Actions
Assembly: TimeCockpit.Data.dll
Syntax
public class AnonymousParameter : ModelActionParameterDefinition, IDynamicMetaObjectProvider, INotifyPropertyChanged
Constructors
AnonymousParameter()
Initializes a new instance of the AnonymousParameter class
Declaration
public AnonymousParameter()
AnonymousParameter(IEnumerable<KeyValuePair<Object, Object>>)
Initializes a new instance of the AnonymousParameter class.
Declaration
public AnonymousParameter(IEnumerable<KeyValuePair<object, object>> properties)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object, System.Object>> | properties | Collection of properties. |
Properties
ModelEntity
Gets or sets the model entity that is the template for the parameter that is handed to a model action
Declaration
public override ModelEntityBase ModelEntity { get; set; }
Property Value
Type | Description |
---|---|
ModelEntityBase |
Overrides
Properties
Gets or sets a list of ModelProperty.
Declaration
public ModelCollection<ModelProperty> Properties { get; set; }
Property Value
Type | Description |
---|---|
ModelCollection<ModelProperty> |
Methods
Clone()
Creates a deep copy of the model action parameter definition.
Declaration
public override ModelActionParameterDefinition Clone()
Returns
Type | Description |
---|---|
ModelActionParameterDefinition | Returns a deep copy of the model action parameter definition. |
Overrides
GetModelEntity()
Gets the model entity that is used as template for a parameter (entity object) that is passed to a model action.
Declaration
public override ModelEntityBase GetModelEntity()
Returns
Type | Description |
---|---|
ModelEntityBase | An instance of ModelEntityBase |