Search Results for

    Show / Hide Table of Contents

    Delegate NativeGeneratorProvider

    Creates and initializes a file generator that can be used to write native content.

    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public delegate IFileGenerator NativeGeneratorProvider(IPersistentFileConversionProperties fileProperties)
    Parameters
    Type Name Description
    IPersistentFileConversionProperties fileProperties

    Information on the original file being converted, including the id of the file type definition that is used to convert the original native file. This can either be the persistent file properties that were created when reading the original native file, or it is provided from a bilingual parser.

    Returns
    Type Description
    IFileGenerator

    A file generator object that can be used to create a native file.

    Constructors

    NativeGeneratorProvider(object, IntPtr)

    Declaration
    public NativeGeneratorProvider(object @object, IntPtr method)
    Parameters
    Type Name Description
    object object
    IntPtr method

    Methods

    BeginInvoke(IPersistentFileConversionProperties, AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(IPersistentFileConversionProperties fileProperties, AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    IPersistentFileConversionProperties fileProperties
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult

    EndInvoke(IAsyncResult)

    Declaration
    public virtual IFileGenerator EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    Returns
    Type Description
    IFileGenerator

    Invoke(IPersistentFileConversionProperties)

    Declaration
    public virtual IFileGenerator Invoke(IPersistentFileConversionProperties fileProperties)
    Parameters
    Type Name Description
    IPersistentFileConversionProperties fileProperties
    Returns
    Type Description
    IFileGenerator
    In this article
    • Constructors
      • NativeGeneratorProvider(object, IntPtr)
    • Methods
      • BeginInvoke(IPersistentFileConversionProperties, AsyncCallback, object)
      • EndInvoke(IAsyncResult)
      • Invoke(IPersistentFileConversionProperties)
    Back to top Generated by DocFX