Class PersistentObject
A base class for various translation memory objects which are persisted, such as translation units. This class is for internal purposes only and not intended to be used by the end user.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
[DataContract]
public class PersistentObject
Constructors
PersistentObject()
Initializes a new instance with an empty resource token.
Declaration
public PersistentObject()
PersistentObject(PersistentObjectToken)
Initializes a new instance with the specified persistent object token
Declaration
public PersistentObject(PersistentObjectToken token)
Parameters
Type | Name | Description |
---|---|---|
PersistentObjectToken | token | The persistent object token to initialize this instance with |
PersistentObject(int, Guid)
Initializes a new instance with an object token created from the the specified id and guid
Declaration
public PersistentObject(int id, Guid guid)
Parameters
Type | Name | Description |
---|---|---|
int | id | The key to assign to the PersistentObjectToken. |
Guid | guid | The GUID to assign to the PersistentObjectToken. |
Properties
ResourceId
Gets or sets the resource ID for this object.
Declaration
[DataMember]
public PersistentObjectToken ResourceId { get; set; }
Property Value
Type | Description |
---|---|
PersistentObjectToken |