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.
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
Methods
BeginInvoke(IDependencyFileProperties, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(IDependencyFileProperties missingFileInfo, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
Declaration
public virtual string EndInvoke(IAsyncResult result)
Parameters
Returns
Invoke(IDependencyFileProperties)
Declaration
public virtual string Invoke(IDependencyFileProperties missingFileInfo)
Parameters
Returns