Search Results for

    Show / Hide Table of Contents

    Interface IConversionContext

    Namespace: Sdl.TranslationStudioAutomation.IntegrationApi.Packaging
    Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
    Syntax
    public interface IConversionContext

    Methods

    CheckForExistingProject(Guid)

    Returns the FileBasedProject object associated to the given ID if the project is loaded within the Studio context

    Declaration
    IProject CheckForExistingProject(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    Unique identifier (Guid) of the project to be searched for

    Returns
    Type Description
    IProject

    Null if the project does not exist in the Trados Studio context

    CreatePackage(string, Language, DateTime, string, Guid)

    Creates a Package object that can be manipulated before being imported into Trados Studio

    Declaration
    IPackage CreatePackage(string projectName, Language sourceLanguage, DateTime createdAt, string createdBy, Guid originalProjectGuid)
    Parameters
    Type Name Description
    string projectName
    Language sourceLanguage
    DateTime createdAt
    string createdBy
    Guid originalProjectGuid
    Returns
    Type Description
    IPackage

    The PackageProject to be manipulated

    OpenPackage(string)

    Creates a Package object based on physical package

    Declaration
    IPackage OpenPackage(string packageFilePath)
    Parameters
    Type Name Description
    string packageFilePath
    Returns
    Type Description
    IPackage

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Methods
      • CheckForExistingProject(Guid)
      • CreatePackage(string, Language, DateTime, string, Guid)
      • OpenPackage(string)
    • Extension Methods
    Back to top Generated by DocFX