/// <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); }
/// <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) { }
/// <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); }