Show / Hide Table of Contents

Class ListSort<TValue>

This is needed to sort the List in the Channel Class.

Inheritance
System.Object
ListSort<TValue>
Implements
System.Collections.Generic.IComparer<Keyframe<TValue>>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Xirkit
Assembly: Fusee.Xirkit.dll
Syntax
public class ListSort<TValue> : IComparer<Keyframe<TValue>>
Type Parameters
Name Description
TValue

The type of the value.

Methods

Compare(Keyframe<TValue>, Keyframe<TValue>)

Compares 2 Objects and shows through the returned value, whether an Object is smaller, bigger or equals the other Objects.

Declaration
public int Compare(Keyframe<TValue> x, Keyframe<TValue> y)
Parameters
Type Name Description
Keyframe<TValue> x

The first Object that shall be compared.

Keyframe<TValue> y

The second Object that shall be compared.

Returns
Type Description
System.Int32

Implements

System.Collections.Generic.IComparer<T>
Generated by DocFX
GitHub Repo
Back to top