WithCreatedAt
method in Coherence.Cloud.LobbyFilter
Methods
public LobbyFilter WithCreatedAt(FilterOperator op, DateTimeOffset at, DateTimeOffset? until = null)
Filters lobbies by their creation time.
Parameters
| Type | Name | Description |
|---|---|---|
| FilterOperator | op | One of LessThan, LessOrEqualThan, GreaterThan, GreaterOrEqualThan or Between. Exact-match operators aren't supported: createdAt is stored with sub-second precision server-side while CreatedAt only reports whole seconds, so an exact match can never reliably name the lobby it came from. |
| DateTimeOffset | at | The point in time to compare against, or the (inclusive) start of the range when |
| DateTimeOffset? | until | The (inclusive) end of the range, when |
Returns
| Type | Description |
|---|---|
| LobbyFilter |