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
    System.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
    System.String projectName
    Language sourceLanguage
    System.DateTime createdAt
    System.String createdBy
    System.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
    System.String packageFilePath
    Returns
    Type Description
    IPackage

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Methods
      • CheckForExistingProject(Guid)
      • CreatePackage(String, Language, DateTime, String, Guid)
      • OpenPackage(String)
    • Extension Methods
    Back to top Generated by DocFX