Interface IOperationResult
Info
General operation result interface that defines common methods that concrete plugin operation result should implement.
public interface IOperationResult
Properties
Data
Gets raw data.
object Data { get; }
Property Value
IsFile
Indicates whether the result is a path to an output file.
bool IsFile { get; }
Property Value
IsStream
Indicates whether the result is an output stream.
bool IsStream { get; }
Property Value
IsString
Indicates whether the result is a text string.
bool IsString { get; }
Property Value
Methods
ToFile()
Tries to convert the result to the file.
string ToFile()
Returns
string : A string representing the path to the output file if the result is file; otherwise null
.
ToStream()
Tries to convert the result to the stream object.
Stream ToStream()
Returns
Stream : A stream object representing the output data if the result is stream; otherwise null
.
Namespace: Documentize Assembly: Documentize.dll