Show / Hide Table of Contents

Class Since

A filter for received messages, filtering by the message's age.

Inheritance
object
Since
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ntfy.Filters
Assembly: ntfy.dll
Syntax
public class Since

Constructors

| Improve this Doc View Source

Since(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

All

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 Source

implicit operator Since(int)

Construct a new Since filter by casting a timestamp to a Since.

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.

| Improve this Doc View Source

implicit operator Since(string)

Construct a new Since filter by casting a message ID to a Since.

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

implicit operator Since(DelayTime)

Construct a new Since filter by casting a DelayTime to a Since.

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX