14 lines
365 B
C#
14 lines
365 B
C#
namespace MeetTheTeacher.Model.Comparison;
|
|
|
|
/// <summary>
|
|
/// Compares <see cref="Teacher"/> instances by their room, sorting in ascending order
|
|
/// </summary>
|
|
/// <inheritdoc cref="IComparer{Teacher}"/>
|
|
public sealed class ByRoomComparer : IComparer<Teacher>
|
|
{
|
|
public int Compare(Teacher? x, Teacher? y)
|
|
{
|
|
// TODO
|
|
return -1;
|
|
}
|
|
}
|