예제 #1
0
 /// <summary>
 /// overloaded to create typed version of Query
 /// </summary>
 /// <param name="feedQuery"></param>
 /// <returns>EventFeed</returns>
 public ContactsFeed Query(ContactsQuery feedQuery)
 {
     return(base.Query(feedQuery) as ContactsFeed);
 }
예제 #2
0
 /// <summary>
 ///  default constructor with user name
 /// </summary>
 /// <param name="username">the username for the contacts feed</param>
 /// <param name="iService">the Service to use</param>
 public ContactsFeed(String username, IService iService)
     : base(new Uri(ContactsQuery.CreateContactsUri(username)), iService)
 {
 }
예제 #3
0
 /// <summary>
 /// convenience method to create an URI based on a userID for a groups feed
 /// </summary>
 /// <param name="userID">if the parameter is NULL, uses the default user</param>
 /// <param name="projection">the projection to use</param>
 /// <returns>string</returns>
 public static string CreateGroupsUri(string userID, string projection)
 {
     return(ContactsQuery.groupsBaseUri + ContactsQuery.UserString(userID) + projection);
 }