BitDifferResult Class

Summary

Result object for the comparison
Assembly
Cake.BitDiffer.dll
Namespace
Cake.BitDiffer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["BitDifferResult"] class Type type-node

Syntax

public class BitDifferResult

Constructors

Name Summary
BitDifferResult(IEnumerable<string>, XDocument) Constructor for the result

Properties

Name Value Summary
ExecutionResult string[]
Standard output content of the BitDiffer execution
RawResult XDocument
Origin raw result as XML

Methods

Name Value Summary
GetChangeMessage() string
Get the change message, if any (change type or error message)
HasChanges() bool
Check, if the result contains detected changes

Extension Methods

Name Value Summary
Dump<BitDifferResult>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BitDifferResult>(BitDifferResult[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BitDifferResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BitDifferResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<BitDifferResult>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BitDifferResult>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin