Table of Contents

Class vdGuidTable

Namespace
VectorDraw.Serialize
Assembly
VectorDraw.Serialize.dll

An object that manages a dictionary table containing an array of objects with unique Guid reference

public abstract class vdGuidTable
Inheritance
vdGuidTable
Inherited Members

Constructors

vdGuidTable()

Default object constructor

Properties

Count

Returns the number of object added in this table.

Methods

ClearGuids()

Internally used by VectorDraw FrameWork. Clears this table from all the objects and Guid. After that the Count property returns 0.

GetGuidObject(Guid)

Returns the object that assigned to the passed Guid, or null if the passed guid is not included in this table object.

GetObjectGuid(object)

Returns the Guid that assign to the passed object, or Empty if the passed object is not included in this table object.

Guids()

Returns a copy of array Guid objects in this table.

InternalReplaceGuid(object, Guid)

Internally used mainly in MergeSelection in order to copy the Guids of the old Document to the new one.

RemoveObjectGuid(object)

Internally used by VectorDraw FrameWork. Removes the object with its Guid from this table if exist.

SetObjectGuid(object, Guid)

Adds the passed object to this table and assign the passed Guid for that object.

Events

ErrorResolve

Fired when a SetObjectGuid(object, Guid) is called with invalid Guid paramenter.