Search Results for

    Show / Hide Table of Contents

    Class TimedObjectsComparer

    Defines a method that a type implements to compare two objects.
    Inheritance
    object
    TimedObjectsComparer
    Implements
    IComparer<ITimedObject>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Melanchall.DryWetMidi.Interaction
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public class TimedObjectsComparer : IComparer<ITimedObject>

    Methods

    Compare(ITimedObject, ITimedObject)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
    Declaration
    public virtual int Compare(ITimedObject x, ITimedObject y)
    Parameters
    Type Name Description
    ITimedObject x The first object to compare.
    ITimedObject y The second object to compare.
    Returns
    Type Description
    int A signed integer that indicates the relative values of x and y, as shown in the following table.
    ValueMeaning
    Less than zerox is less than y
    Zerox equals y
    Greater than zerox is greater than y

    Implements

    IComparer<T>
    In this article
    Back to top 2024 / Generated by DocFX