Show / Hide Table of Contents

Class BulkRenderingFileResult

Describes the result of a bulk-rendering operation for a single input file.

Inheritance
System.Object
BulkRenderingFileResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.BulkRendering
Assembly: ZptSharp.Abstractions.dll
Syntax
public class BulkRenderingFileResult

Properties

| Improve this Doc View Source

Exception

Gets the exception encountered whilst rendering this file, if IsSuccess is false.

Declaration
public Exception Exception { get; }
Property Value
Type Description
System.Exception

The rendering exception.

| Improve this Doc View Source

InputFile

Gets the path to the input file.

Declaration
public string InputFile { get; }
Property Value
Type Description
System.String

The input file path.

| Improve this Doc View Source

IsSuccess

Gets a value indicating whether or not this file was successfully rendered and saved.

Declaration
public bool IsSuccess { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

OutputFile

Gets the path to the output file, if IsSuccess is true.

Declaration
public string OutputFile { get; }
Property Value
Type Description
System.String

The output file path.

Methods

| Improve this Doc View Source

Error(String, Exception)

Creates an instance of BulkRenderingFileResult for a failed rendering.

Declaration
public static BulkRenderingFileResult Error(string inputFile, Exception exception)
Parameters
Type Name Description
System.String inputFile

The input file path.

System.Exception exception

The exception encountered whilst rendering.

Returns
Type Description
BulkRenderingFileResult

A bulk-rendering file result.

| Improve this Doc View Source

Success(String, String)

Creates an instance of BulkRenderingFileResult for a successful rendering.

Declaration
public static BulkRenderingFileResult Success(string inputFile, string outputFile)
Parameters
Type Name Description
System.String inputFile

The input file path.

System.String outputFile

The output file path.

Returns
Type Description
BulkRenderingFileResult

A bulk-rendering file result.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX