| NativeBuffer Class |
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer
The NativeBuffer type exposes the following members.
| Name | Description | |
|---|---|---|
| NativeBuffer |
Default constructor, creates an empty buffer where IsHolding is false.
|
| Name | Description | |
|---|---|---|
| BufferedCalls |
Provides access to the calls currently in the buffer.
| |
| ExtractionOutput |
Strongly typed output content handler that can be used
when the buffer is used for extraction.
| |
| GenerationOutput |
Strongly typed output content handler that can be used
when the buffer is used for generation.
| |
| IsEndOfInput |
True, if EndOfInput has been reached. After that, Release() is no longer
permitted if the buffer contains any content.
This property can be set to override this behaviour, but that is an
advanced option that should only be exercised if no other option is available.
| |
| IsHolding |
Indicates whether the buffer is actively buffering calls.
| |
| LastBufferedCall |
Provides easy access to the most recent of the calls in the buffer.
If no calls are in the buffer, this property returns null.
| |
| Output |
Agnostic access to the output handler. Accesses the
very same object instance as the ExtractionOutput
and the GenerationOutput properties.
|
| Name | Description | |
|---|---|---|
| ChangeContext |
Adds content to buffer if holding, otherwise output directly.
| |
| CommentEnd |
Adds to buffer if holding, otherwise output directly.
| |
| CommentStart |
Adds to buffer if holding, otherwise output directly.
| |
| CustomInfo |
Adds content to buffer if holding, otherwise output directly.
| |
| EndOfInput |
Sets the end of input flag.
| |
| Hold |
Call this to start buffering calls.
| |
| InlineEndTag |
Adds content to buffer if holding, otherwise output directly.
| |
| InlinePlaceholderTag |
Adds content to buffer if holding, otherwise output directly.
| |
| InlineStartTag |
Adds content to buffer if holding, otherwise output directly.
| |
| LocationMark |
Add to buffer if holding, otherwise output directly.
| |
| LockedContentEnd |
Adds to buffer if holding, otherwise output directly.
| |
| LockedContentStart |
Adds content to buffer if holding, otherwise output directly.
| |
| ParagraphComments |
Adds to buffer if holding, otherwise output directly.
| |
| ParagraphUnitEnd |
Adds to buffer if holding, otherwise output directly.
| |
| ParagraphUnitStart |
Adds to buffer if holding, otherwise output directly.
| |
| Release |
Releases the buffer content to the Output and turns off buffering.
| |
| RevisionEnd |
Adds to buffer if holding, otherwise output directly.
| |
| RevisionStart |
Adds to buffer if holding, otherwise output directly.
| |
| SegmentEnd |
Adds to buffer if holding, otherwise output directly.
| |
| SegmentStart |
Adds to buffer if holding, otherwise output directly.
| |
| SetFileProperties |
Default implementation, does nothing
| |
| StartOfInput |
Default implementation, does nothing
| |
| StructureTag |
Adds content to buffer if holding, otherwise output directly.
| |
| Text |
Adds content to buffer if holding, otherwise output directly.
|