Search Results for

    Show / Hide Table of Contents

    Delegate DependencyFileLocator

    Used by bilingual document parsers. Helps locate missing dependency files. The implementation should try to locate the file based on the provided information. If successful, it returns the actual file path. The implementation may alternatively throw an exception to abort parsing, or return an empty or null string if the file could not be located, but parsing should attempt to proceed anyway.

    Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public delegate string DependencyFileLocator(IDependencyFileProperties missingFileInfo)
    Parameters
    Type Name Description
    IDependencyFileProperties missingFileInfo

    Everything that is known about the missing dependency file. The implementation is not expected to change any of these properties, but is not prevented from doing so.

    Returns
    Type Description
    string

    Full path to the located dependency file.

    Constructors

    DependencyFileLocator(object, IntPtr)

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

    Methods

    BeginInvoke(IDependencyFileProperties, AsyncCallback, object)

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

    EndInvoke(IAsyncResult)

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

    Invoke(IDependencyFileProperties)

    Declaration
    public virtual string Invoke(IDependencyFileProperties missingFileInfo)
    Parameters
    Type Name Description
    IDependencyFileProperties missingFileInfo
    Returns
    Type Description
    string
    In this article
    • Constructors
      • DependencyFileLocator(object, IntPtr)
    • Methods
      • BeginInvoke(IDependencyFileProperties, AsyncCallback, object)
      • EndInvoke(IAsyncResult)
      • Invoke(IDependencyFileProperties)
    Back to top Generated by DocFX