Table of Contents

Class UpdateOperation

Namespace
TimeCockpit.Data.DataModel
Assembly
TimeCockpit.Data.dll

Represents a update operation.

public sealed class UpdateOperation : Operation
Inheritance
Object
UpdateOperation
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

element ModelElement

Element 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

element ModelElement

Element on which the operation should be performed.

propertyName String

Name of the property that has to be changed.

value Object

New 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

visitor OperationVisitor

the visitor to dispatch a visit call to..