コード例 #1
0
 /// <summary>
 /// Gets the list of <see cref="DestinationListItem"/>s to display as choices when
 /// the user chooses 'Add Subscription'.
 /// </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()
 {
     SubscriptionListItem item = new SubscriptionListItem("Subscribe to an RSS or Atom feed", Icon, this);  // TODO: LOCAL: LOCALIZE:
     List<DestinationListItem> list = new List<DestinationListItem>();
     list.Add(item);
     return list;
 }
コード例 #2
0
 public List<DestinationListItem> GetListItems()
 {
     List<DestinationListItem> list = new List<DestinationListItem>();
     SubscriptionListItem item = new SubscriptionListItem("Get notified of changes to local folders", Icon, this);  // TODO: LOCAL: LOCALIZE:
     list.Add(item);
     return list;
 }
コード例 #3
0
 public List<DestinationListItem> GetListItems()
 {
     List<DestinationListItem> list = new List<DestinationListItem>();
     if (Singleton == null)
     {
         SubscriptionListItem item = new SubscriptionListItem("Route Windows system balloons\nthrough Growl", Icon, this);  // TODO: LOCAL: LOCALIZE:
         list.Add(item);
     }
     return list;
 }