Interface INativeContentCycleAware
This interface should be implemented by any native processing components that need to know when the input starts and ends.
The framework will call the methods on this interface before and after parsing the native content.
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface INativeContentCycleAware
Methods
EndOfInput()
Called by the framework after the processing of native content has finished.
Declaration
void EndOfInput()
SetFileProperties(IFileProperties)
The framework calls this method for each file type component before the data of a file is passed through any of them. Note that if a document contains data from multiple files, this may get called several times during the life of a component, even when processing a single bilingual document.
Declaration
void SetFileProperties(IFileProperties properties)
Parameters
Type | Name | Description |
---|---|---|
IFileProperties | properties |
StartOfInput()
Called by the framework after component initialization (i.e. after SetFileProperties(IFileProperties)), but before any content is parsed and passed to any of the file type components.
Declaration
void StartOfInput()