public List<DestinationListItem> GetListItems()
 {
     ForwardDestinationListItem item = new ForwardDestinationListItem(Properties.Resources.AddComputer_ManualAdd, KnownDestinationPlatformType.Other.GetIcon(), this);
     List<DestinationListItem> list = new List<DestinationListItem>();
     list.Add(item);
     return list;
 }
 public List<DestinationListItem> GetListItems()
 {
     ForwardDestinationListItem item = new ForwardDestinationListItem("Forward to your Windows Phone\nwith Toasty", 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>
        /// <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\r\nXBMC", GetIcon(), this);
            List <DestinationListItem> list = new List <DestinationListItem>();

            list.Add(item);
            return(list);
        }
Пример #5
0
        public virtual void Initialize(bool isSubscription, ForwardDestinationListItem fdli, ForwardDestination fd)

        {
            throw new NotImplementedException();
        }
 public virtual void Initialize(bool isSubscription, ForwardDestinationListItem fdli, ForwardDestination fd)
 {
     throw new NotImplementedException();
 }