Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NewestOrder.cs
1
using
System.Collections.Generic;
2
3
namespace
Waher.Persistence.FullTextSearch.Orders
4
{
8
public
class
NewestOrder
: IComparer<MatchInformation>
9
{
13
public
NewestOrder
()
14
{
15
}
16
20
public
int
Compare
(
MatchInformation
x,
MatchInformation
y)
21
{
22
return
y.
Timestamp
.CompareTo(x.
Timestamp
);
23
}
24
}
25
}
Waher.Persistence.FullTextSearch.Orders.MatchInformation
Contains matching information about a document in a search.
Definition:
MatchInformation.cs:10
Waher.Persistence.FullTextSearch.Orders.MatchInformation.Timestamp
DateTime Timestamp
Timestamp
Definition:
MatchInformation.cs:37
Waher.Persistence.FullTextSearch.Orders.NewestOrder
Orders entries from newest to oldest.
Definition:
NewestOrder.cs:9
Waher.Persistence.FullTextSearch.Orders.NewestOrder.Compare
int Compare(MatchInformation x, MatchInformation y)
IComparer<MatchInformation>.Compare
Definition:
NewestOrder.cs:20
Waher.Persistence.FullTextSearch.Orders.NewestOrder.NewestOrder
NewestOrder()
Orders entries from newest to oldest.
Definition:
NewestOrder.cs:13
Waher.Persistence.FullTextSearch.Orders
Definition:
MatchInformation.cs:5
IoTGateway
Persistence
Waher.Persistence.FullTextSearch
Orders
NewestOrder.cs
Generated by
1.9.5