Delegate NativeGeneratorProvider
Creates and initializes a file generator that can be used to write native content.
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)
Creates and initializes a file generator that can be used to write native content.
Declaration
public NativeGeneratorProvider(object object, IntPtr method)
Parameters
Type |
Name |
Description |
Object |
object |
|
IntPtr |
method |
|
Methods
BeginInvoke(IPersistentFileConversionProperties, AsyncCallback, Object)
Creates and initializes a file generator that can be used to write native content.
Declaration
public virtual IAsyncResult BeginInvoke(IPersistentFileConversionProperties fileProperties, AsyncCallback callback, object object)
Parameters
Returns
Type |
Description |
IAsyncResult |
|
EndInvoke(IAsyncResult)
Creates and initializes a file generator that can be used to write native content.
Declaration
public virtual IFileGenerator EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
IAsyncResult |
result |
|
Returns
Invoke(IPersistentFileConversionProperties)
Creates and initializes a file generator that can be used to write native content.
Declaration
public virtual IFileGenerator Invoke(IPersistentFileConversionProperties fileProperties)
Parameters
Returns