Partager via


ClosureFindOrCreateElementOperation Class

Definition

Closure operation that is used to mark a find or create target element operation

public ref class ClosureFindOrCreateElementOperation : Microsoft::VisualStudio::Modeling::ClosureFindElementOperation, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class ClosureFindOrCreateElementOperation : Microsoft.VisualStudio.Modeling.ClosureFindElementOperation, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type ClosureFindOrCreateElementOperation = class
    inherit ClosureFindElementOperation
    interface ISerializable
Public Class ClosureFindOrCreateElementOperation
Inherits ClosureFindElementOperation
Implements ISerializable
Inheritance
ClosureFindOrCreateElementOperation
Attributes
Implements

Constructors

ClosureFindOrCreateElementOperation()

Default Constructor

ClosureFindOrCreateElementOperation(ModelElement)

Constructor

ClosureFindOrCreateElementOperation(SerializationInfo, StreamingContext)

Protected constructor. It is executed during deserialization.

Fields

ClosureElementOperationList

The key to which closure element operations context info is bound

(Inherited from ClosureElementOperation)

Properties

SourceElementDomainClassId

Id of the domain class of the element

(Inherited from ClosureFindElementOperation)
SourceElementId

Id of the element in the source store

(Inherited from ClosureFindElementOperation)
TargetElement

The element as found in the target store

(Inherited from ClosureFindElementOperation)
TargetElementId

Id of the element as found in the target store

(Inherited from ClosureFindElementOperation)

Methods

FindElement(Guid, Guid, Store, ElementGroup)

default brute force search operation

(Inherited from ClosureFindElementOperation)
FindOrCreateElement(Guid, Guid, Partition, ElementGroup)

Used to find an element in the target store or create it if it doesn't exist

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object. This method is executed during serialization.

Matches(ModelElement)

abstract method to determine that an element matches the one described by this find operation

(Inherited from ClosureFindElementOperation)
Resolve(Partition, ElementGroup)

Performs target resolution of this operation

Applies to