ClosureFindOrCreateElementOperation Class
Represents a closure operation that marks a find or create target element operation.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ClosureElementOperation
Microsoft.VisualStudio.Modeling.ClosureFindElementOperation
Microsoft.VisualStudio.Modeling.ClosureFindOrCreateElementOperation
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
<SerializableAttribute> _
Public Class ClosureFindOrCreateElementOperation _
Inherits ClosureFindElementOperation _
Implements ISerializable
[SerializableAttribute]
public class ClosureFindOrCreateElementOperation : ClosureFindElementOperation,
ISerializable
[SerializableAttribute]
public ref class ClosureFindOrCreateElementOperation : public ClosureFindElementOperation,
ISerializable
[<SerializableAttribute>]
type ClosureFindOrCreateElementOperation =
class
inherit ClosureFindElementOperation
interface ISerializable
end
public class ClosureFindOrCreateElementOperation extends ClosureFindElementOperation implements ISerializable
The ClosureFindOrCreateElementOperation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClosureFindOrCreateElementOperation() | Default Constructor | |
ClosureFindOrCreateElementOperation(ModelElement) | Constructor | |
ClosureFindOrCreateElementOperation(SerializationInfo, StreamingContext) | Protected constructor. It is executed during deserialization. |
Top
Properties
Name | Description | |
---|---|---|
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.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindElement | default brute force search operation (Inherited from ClosureFindElementOperation.) | |
FindOrCreateElement | Used to find an element in the target store or create it if it doesn't exist | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. This method is executed during serialization. (Overrides ClosureFindElementOperation.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Matches | abstract method to determine that an element matches the one described by this find operation (Inherited from ClosureFindElementOperation.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | Performs target resolution of this operation (Overrides ClosureFindElementOperation.Resolve(Partition, ElementGroup).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.