Interface IOperationResult

IOperationResult interface

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

public interface IOperationResult

Properties

NameDescription
Data { get; }Gets raw data.
IsByteArray { get; }Indicates whether the result is a byte array.
IsFile { get; }Indicates whether the result is a path to an output file.
IsStream { get; }Indicates whether the result is an output stream.
IsString { get; }Indicates whether the result is a text string.

Methods

NameDescription
ToFile()Tries to convert the result to the file.
ToStream()Tries to convert the result to the stream object.

See Also