Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    PersistentObject
    Field
    TranslationUnit
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemory
    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
    In this article
    • Constructors
      • PersistentObject()
      • PersistentObject(PersistentObjectToken)
      • PersistentObject(int, Guid)
    • Properties
      • ResourceId
    Back to top Generated by DocFX