Show / Hide Table of Contents

Class Action

The base class for all actions that can be included on a ReceivedMessage or SendingMessage.

Inheritance
object
Action
Broadcast
Http
View
Implements
IAction
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ntfy.Actions
Assembly: ntfy.dll
Syntax
public abstract class Action : IAction

Constructors

| Improve this Doc View Source

Action(string)

Constructor for an action.

Declaration
protected Action(string label)
Parameters
Type Name Description
string label

The label for the action.

Properties

| Improve this Doc View Source

Label

The label of this action.

Declaration
[JsonProperty("label", Required = Required.Always, NullValueHandling = NullValueHandling.Ignore)]
public string Label { get; set; }
Property Value
Type Description
string
| Improve this Doc View Source

Type

The type of this action, as an ActionType enum.

Declaration
[JsonIgnore]
public abstract ActionType Type { get; }
Property Value
Type Description
ActionType

Implements

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