CompareAsync(PersistedConfiguration other, Inedo.Extensibility.Operations.IOperationCollectionContext context) Method

Compares this configuration with a configuration of the same type.

Syntax

public virtual Task<ComparisonResult> CompareAsync(PersistedConfiguration other, Inedo.Extensibility.Operations.IOperationCollectionContext context)

Parameters

other
Type: PersistedConfiguration

The other configuration.

context
Type: Inedo.Extensibility.Operations.IOperationCollectionContext

The collection context.

Returns

A comparison result.

Exceptions

System.ArgumentNullException

other is null (Nothing in Visual Basic).

System.ArgumentException

Cannot compare configurations of different types using the default comparison method.

Remarks

This compares the persistent properties of this instance and other.