Exemple #1
0
 /// <summary>
 /// Sends request to join current group
 /// </summary>
 /// <returns>Request result</returns>
 /// <exception cref="LinkedInAlreadyMemberException">Thrown if user is already member of the group</exception>
 public LinkedInResponse <bool> Join()
 {
     if (MembershipState == LinkedInGroupRelationship.NonMember)
     {
         return(RequestRunner.RequestJoinGroup(Id));
     }
     throw new LinkedInAlreadyMemberException("The user is already member of group " + Name);
 }