Search Results for

    Show / Hide Table of Contents

    Class UpdateOperation

    Represents a update operation.

    Inheritance
    System.Object
    Operation
    UpdateOperation
    Inherited Members
    Operation.Element
    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
    Assembly: TimeCockpit.Data.dll
    Syntax
    public sealed class UpdateOperation : Operation

    Constructors

    UpdateOperation(ModelElement)

    Initializes a new instance of the UpdateOperation class.

    Declaration
    public UpdateOperation(ModelElement element)
    Parameters
    Type Name Description
    ModelElement element

    Element on which the operation should be performed.

    UpdateOperation(ModelElement, String, Object)

    Initializes a new instance of the UpdateOperation class.

    Declaration
    public UpdateOperation(ModelElement element, string propertyName, object value)
    Parameters
    Type Name Description
    ModelElement element

    Element on which the operation should be performed.

    System.String propertyName

    Name of the property that has to be changed.

    System.Object value

    New value of the property.

    Properties

    PropertyName

    Gets or sets the name of the property that has to be changed.

    Declaration
    public string PropertyName { get; set; }
    Property Value
    Type Description
    System.String

    Value

    Gets or sets the new value of the property.

    Declaration
    public object Value { get; set; }
    Property Value
    Type Description
    System.Object

    Methods

    Accept(OperationVisitor)

    Accepts a visitor for the concrete type. Dispatches the corresponding visit operation in the visitor.

    Declaration
    public override void Accept(OperationVisitor visitor)
    Parameters
    Type Name Description
    OperationVisitor visitor

    the visitor to dispatch a visit call to..

    Overrides
    Operation.Accept(OperationVisitor)
    In This Article
    Back to top Copyright © 2020 software architects gmbh