TopologyVersionIsStalerThan Method |
Gets whether or not x is staler than or Equal to y.
Comparing topology descriptions freshness does not exhibit the reversal property of
inequalities e.g. a.IsStalerThan(b) (a "<" b) does not imply
!b.IsStalerThan(a) (b ">" a).
See for more information.
In the case that this == y, y will be considered to be fresher.
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax public static bool IsStalerThan(
TopologyVersion x,
TopologyVersion y
)
Public Shared Function IsStalerThan (
x As TopologyVersion,
y As TopologyVersion
) As Boolean
static member IsStalerThan :
x : TopologyVersion *
y : TopologyVersion -> bool
Parameters
- x
- Type: MongoDB.Driver.Core.ServersTopologyVersion
The first TopologyVersion. - y
- Type: MongoDB.Driver.Core.ServersTopologyVersion
The other TopologyVersion.
Return Value
Type:
Boolean
Whether or not this TopologyVersion is staler than
y.
See Also