IIssueComparer Class

Summary

Comparer to compare if two issues are identical.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEqualityComparer<IIssue>"] Type["IIssueComparer"] class Type type-node

Syntax

public class IIssueComparer : IEqualityComparer<IIssue>

Remarks

If compareOnlyPersistentProperties is set to true the following properties will be ignored while comparing the issue:

Constructors

Name Summary
IIssueComparer() Initializes a new instance of the IIssueComparer class. Two issues are seen as identical if all properties have identical values.
IIssueComparer(bool) Comparer to compare if two issues are identical.

Methods

Name Value Summary
Equals(IIssue, IIssue) bool
GetHashCode(IIssue) int

Extension Methods

Name Value Summary
Dump<IIssueComparer>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IIssueComparer>(IIssueComparer[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IIssueComparer>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IIssueComparer>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IIssueComparer>(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<IIssueComparer>(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