Interface ISupportsUniqueId
Provides access to an ID that can be used by implementations e.g. to keep the item in a separate structure
Namespace: SdlSdl.FileTypeSupportFrameworkNativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface ISupportsUniqueId
Remarks
This interface is used for now by the segmentation engine
Properties
UniqueId
The Unique ID associated with an object may be used by implementations during operations such as segmentation
Declaration
int UniqueId { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
The persistence ID is an internal ID that may be used temporarily. It is not guaranteed to be preserved during regular processing by other components, and it is explicitly ignored in the object implementations of Equals(object) and GetHashCode().
The initial value of this ID is 0 for all objects. It is up to implementations to ensure uniqueness, if that is desired.