Show / Hide Table of Contents

Class CheckoutComparer

Implements custom comparison for CheckoutNode nodes.

Inheritance
System.Object
CheckoutComparer
Namespace: Algenta.Colectica.Navigator.NodeTypes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class CheckoutComparer : IComparer<CheckoutNode>

Methods

Compare(CheckoutNode, CheckoutNode)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Declaration
public int Compare(CheckoutNode x, CheckoutNode y)
Parameters
Type Name Description
CheckoutNode x

The first object to compare.

CheckoutNode y

The second object to compare.

Returns
Type Description
System.Int32

A signed integer that indicates the relative values of x and y, as shown in the following table.Value Meaning Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica