Class UpdateOperation
- Namespace
- TimeCockpit.Data.DataModel
- Assembly
- TimeCockpit.Data.dll
Represents a update operation.
public sealed class UpdateOperation : Operation
- Inheritance
-
ObjectUpdateOperation
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
UpdateOperation(ModelElement)
Initializes a new instance of the UpdateOperation class.
public UpdateOperation(ModelElement element)
Parameters
elementModelElementElement on which the operation should be performed.
UpdateOperation(ModelElement, String, Object)
Initializes a new instance of the UpdateOperation class.
public UpdateOperation(ModelElement element, string propertyName, object value)
Parameters
elementModelElementElement on which the operation should be performed.
propertyNameStringName of the property that has to be changed.
valueObjectNew value of the property.
Properties
PropertyName
Gets or sets the name of the property that has to be changed.
public string PropertyName { get; set; }
Property Value
- String
Value
Gets or sets the new value of the property.
public object Value { get; set; }
Property Value
- Object
Methods
Accept(OperationVisitor)
Accepts a visitor for the concrete type. Dispatches the corresponding visit operation in the visitor.
public override void Accept(OperationVisitor visitor)
Parameters
visitorOperationVisitorthe visitor to dispatch a visit call to..