Class Since
A filter for received messages, filtering by the message's age.
Inherited Members
Namespace: ntfy.Filters
Assembly: ntfy.dll
Syntax
public class Since
  Constructors
| Improve this Doc View SourceSince(string)
Construct a new Since filter using a message ID. Will filter out messages older than the specified message ID.
Declaration
public Since(string messageId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | messageId | A message ID to receive since.  | 
      
Since(DelayDuration)
Construct a new Since filter using a DelayDuration. Will filter out messages older than the specified duration.
Declaration
public Since(DelayDuration time)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DelayDuration | time | A DelayDuration delay to receive since.  | 
      
Since(DelayTime)
Construct a new Since filter using a DelayTime. Will filter out messages older than the specified timestamp.
Declaration
public Since(DelayTime time)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DelayTime | time | DelayTime delay to receive since.  | 
      
Fields
| Improve this Doc View SourceAll
A filter to receive all messages, regardless of age.
Declaration
public static readonly Since All
  Field Value
| Type | Description | 
|---|---|
| Since | 
Operators
| Improve this Doc View Sourceimplicit operator Since(int)
Declaration
public static implicit operator Since(int timestamp)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | timestamp | Timestamp to use in filter.  | 
      
Returns
| Type | Description | 
|---|---|
| Since | A Since instance configured with the timestamp.  | 
      
implicit operator Since(string)
Declaration
public static implicit operator Since(string messageId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | messageId | Message ID to use in filter.  | 
      
Returns
| Type | Description | 
|---|---|
| Since | A Since instance configured with the message ID.  | 
      
implicit operator Since(DelayDuration)
Construct a new Since filter by casting a DelayDuration to a Since.
Declaration
public static implicit operator Since(DelayDuration time)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DelayDuration | time | DelayDuration instance to use in filter.  | 
      
Returns
| Type | Description | 
|---|---|
| Since | A Since instance configured with the delay duration.  | 
      
implicit operator Since(DelayTime)
Declaration
public static implicit operator Since(DelayTime time)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DelayTime | time | DelayTime instance to use in filter.  | 
      
Returns
| Type | Description | 
|---|---|
| Since | A Since instance configured with the delay timestamp.  |