ObjectReferenceService Class

Definition

This interface is used by Visual Studio integration to acquire an AppDomain serialization friendly reference to an object.

public ref class ObjectReferenceService sealed
public sealed class ObjectReferenceService
type ObjectReferenceService = class
Public NotInheritable Class ObjectReferenceService
Inheritance
ObjectReferenceService

Constructors

ObjectReferenceService(EditingContext)

Initializes a new instance of the ObjectReferenceService class with a specified editing context.

Methods

AcquireObjectReference(Int32, Int32, Int32, Int32)

Acquires a reference by the SourceLocation of the object and this method will automatically register the object to listen to SourceLocationUpdatedEvent, if available.

AcquireObjectReference(Object)

Acquires a reference of an object by its actual reference.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReleaseObjectReference(Guid)

Allows the designer infrastructure to release the actual reference to the activity and avoids memory leak.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetObject(Guid, Object)

Obtains the actual reference to the object by its ObjectReference.

Events

SourceLocationUpdated

Occurs when the source location for the object changes.

Applies to