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