IOperationResult class

IOperationResult class

General operation result interface that defines common methods that concrete plugin operation result should implement.

The IOperationResult type exposes the following members:

Properties

NameDescription
is_fileIndicates whether the result is a path to an output file.
is_streamIndicates whether the result is an output stream.
is_stringIndicates whether the result is a text string.
is_byte_arrayIndicates whether the result is a byte array.
dataGets raw data.

Methods

NameDescription
to_file()Tries to convert the result to the file.
to_stream()Tries to convert the result to the stream object.

See Also