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
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
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(Int32, 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 |
---|---|---|
System.Int32 | id | The key to assign to the PersistentObjectToken. |
System.Guid | guid | The GUID to assign to the PersistentObjectToken. |
Properties
ResourceId
Gets or sets the resource ID for this object.
Declaration
public PersistentObjectToken ResourceId { get; set; }
Property Value
Type | Description |
---|---|
PersistentObjectToken |