Search Results for

    Show / Hide Table of Contents

    Class InMemoryTranslationMemory

    Represents a bilingual in-memory translation memory.

    Inheritance
    System.Object
    AbstractLocalTranslationMemory
    InMemoryTranslationMemory
    Implements
    ITranslationMemory
    ITranslationProvider
    ILocalTranslationMemory
    Inherited Members
    AbstractLocalTranslationMemory.CreateFileBasedTranslationMemoryLanguageDirection()
    AbstractLocalTranslationMemory.GetTranslationUnitCount()
    AbstractLocalTranslationMemory.Refresh()
    AbstractLocalTranslationMemory.Save()
    AbstractLocalTranslationMemory.Save(IProgress<TranslationMemoryProgress>, CancellationToken)
    AbstractLocalTranslationMemory.Delete()
    AbstractLocalTranslationMemory.RecomputeFuzzyIndexStatistics()
    AbstractLocalTranslationMemory.ClearFuzzyCache()
    AbstractLocalTranslationMemory.ShouldRecomputeFuzzyIndexStatistics()
    AbstractLocalTranslationMemory.SupportsLanguageDirection(LanguagePair)
    AbstractLocalTranslationMemory.GetLanguageDirection(LanguagePair)
    AbstractLocalTranslationMemory.ITranslationProvider.GetLanguageDirection(LanguagePair)
    AbstractLocalTranslationMemory.SerializeState()
    AbstractLocalTranslationMemory.LoadState(String)
    AbstractLocalTranslationMemory.FuzzyIndexes
    AbstractLocalTranslationMemory.Recognizers
    AbstractLocalTranslationMemory.Copyright
    AbstractLocalTranslationMemory.CreationDate
    AbstractLocalTranslationMemory.CreationUserName
    AbstractLocalTranslationMemory.Description
    AbstractLocalTranslationMemory.ExpirationDate
    AbstractLocalTranslationMemory.FieldDefinitions
    AbstractLocalTranslationMemory.LanguageResourceBundles
    AbstractLocalTranslationMemory.Uri
    AbstractLocalTranslationMemory.Name
    AbstractLocalTranslationMemory.SupportsTaggedInput
    AbstractLocalTranslationMemory.SupportsScoring
    AbstractLocalTranslationMemory.SupportsSearchForTranslationUnits
    AbstractLocalTranslationMemory.SupportsMultipleResults
    AbstractLocalTranslationMemory.SupportsFilters
    AbstractLocalTranslationMemory.SupportsPenalties
    AbstractLocalTranslationMemory.SupportsStructureContext
    AbstractLocalTranslationMemory.SupportsDocumentSearches
    AbstractLocalTranslationMemory.SupportsUpdate
    AbstractLocalTranslationMemory.SupportsPlaceables
    AbstractLocalTranslationMemory.SupportsTranslation
    AbstractLocalTranslationMemory.SupportsFuzzySearch
    AbstractLocalTranslationMemory.SupportsConcordanceSearch
    AbstractLocalTranslationMemory.SupportsSourceConcordanceSearch
    AbstractLocalTranslationMemory.SupportsTargetConcordanceSearch
    AbstractLocalTranslationMemory.SupportsWordCounts
    AbstractLocalTranslationMemory.IsReadOnly
    AbstractLocalTranslationMemory.TranslationMethod
    AbstractLocalTranslationMemory.FuzzyIndexTuningSettings
    AbstractLocalTranslationMemory.FuzzyIndexStatisticsRecomputedAt
    AbstractLocalTranslationMemory.FuzzyIndexStatisticsSize
    AbstractLocalTranslationMemory.LanguageDirection
    AbstractLocalTranslationMemory.SupportedLanguageDirections
    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.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class InMemoryTranslationMemory : AbstractLocalTranslationMemory, ITranslationMemory, ITranslationProvider, ILocalTranslationMemory

    Constructors

    InMemoryTranslationMemory(String, CultureInfo, CultureInfo, FuzzyIndexes, BuiltinRecognizers)

    Creates a new bilingual in-memory translation memory.

    Declaration
    public InMemoryTranslationMemory(string name, CultureInfo sourceLanguage, CultureInfo targetLanguage, FuzzyIndexes indexes, BuiltinRecognizers recognizers)
    Parameters
    Type Name Description
    System.String name

    The translation memory name.

    System.Globalization.CultureInfo sourceLanguage

    A region-qualified culture, representing the source language.

    System.Globalization.CultureInfo targetLanguage

    A region-qualified culture, representing the target language.

    FuzzyIndexes indexes

    The set of fuzzy indexes that should be created in this translation memory.

    BuiltinRecognizers recognizers

    Recognizer settings.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown when sourceLanguage or targetLanguage is null or empty.

    System.ArgumentException

    Thrown when sourceLanguage or targetLanguage are not region-qualified cultures.

    Properties

    StatusInfo

    Always returns "OK".

    Declaration
    public override ProviderStatusInfo StatusInfo { get; }
    Property Value
    Type Description
    ProviderStatusInfo
    Overrides
    AbstractLocalTranslationMemory.StatusInfo

    Methods

    HasPermission(String)

    Always returns

    true
    .

    Declaration
    public override bool HasPermission(string permission)
    Parameters
    Type Name Description
    System.String permission
    Returns
    Type Description
    System.Boolean
    Overrides
    AbstractLocalTranslationMemory.HasPermission(String)

    RefreshStatusInfo()

    Refreshes the current status information.

    Declaration
    public override void RefreshStatusInfo()
    Overrides
    AbstractLocalTranslationMemory.RefreshStatusInfo()

    Implements

    ITranslationMemory
    ITranslationProvider
    ILocalTranslationMemory

    On this page

    • Constructors
      • InMemoryTranslationMemory(String, CultureInfo, CultureInfo, FuzzyIndexes, BuiltinRecognizers)
    • Properties
      • StatusInfo
    • Methods
      • HasPermission(String)
      • RefreshStatusInfo()
    • Implements
    Back to top Generated by DocFX