Class StringResult

StringResult class

Represents operation result in the form of string.

public sealed class StringResult : 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 a path to an output file.
IsString { get; }Indicates whether the result is a string.
Text { get; }Returns string representation of the result.

Methods

NameDescription
ToFile()Tries to convert the result to a file.
ToStream()Tries to convert the result to a stream object.
override ToString()Tries to convert the result to a string.

See Also