Class FileResult

FileResult class

Represents operation result in the form of string path to file.

public sealed class FileResult : IOperationResult

Properties

NameDescription
Data { get; }Gets raw data.
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 a file.
ToStream()Tries to convert the result to a stream object.

See Also