/// <summary> /// Gets the list of <see cref="DestinationListItem"/>s to display as choices when /// the user chooses 'Add Forward'. /// </summary> /// <returns><see cref="List[DestinationListItem]"/></returns> /// <remarks> /// A single handler can return multiple list entries if appropriate (for example, the Bonjour forwarder /// detects other computers on the network and returns each as a separate list item). /// However, most of the time, you will return a list with just a single /// item in it. /// </remarks> public List<DestinationListItem> GetListItems() { ForwardDestinationListItem item = new ForwardDestinationListItem("Click here to forward notifications to\nNotifo", GetIcon(), this); List<DestinationListItem> list = new List<DestinationListItem>(); list.Add(item); return list; }
/// <summary> /// Gets the list of <see cref="DestinationListItem"/>s to display as choices when /// the user chooses 'Add Forward'. /// </summary> /// <returns><see cref="List[DestinationListItem]"/></returns> /// <remarks> /// A single handler can return multiple list entries if appropriate (for example, the Bonjour forwarder /// detects other computers on the network and returns each as a separate list item). /// However, most of the time, you will return a list with just a single /// item in it. /// </remarks> public List<DestinationListItem> GetListItems() { ForwardDestinationListItem item = new ForwardDestinationListItem("Call a webhook (HTTP POST)", GetIcon(), this); List<DestinationListItem> list = new List<DestinationListItem>(); list.Add(item); return list; }
/// <summary> /// Gets the list of <see cref="DestinationListItem"/>s to display as choices when /// the user chooses 'Add Forward'. /// </summary> /// <returns><see cref="List[DestinationListItem]"/></returns> public List<DestinationListItem> GetListItems() { ForwardDestinationListItem item = new ForwardDestinationListItem("Forward to your Pushover account", GetIcon(), this); List<DestinationListItem> list = new List<DestinationListItem>(); list.Add(item); return list; }