Interface IOperationResult

IOperationResult interface

The general operation result interface.

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 file path.
IsStream { get; }Indicates whether the result is a stream.
IsString { get; }Indicates whether the result is a string.

Methods

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

See Also