コード例 #1
0
        public BoardsAddMemberRequest(IBoardId board, IMemberId member, BoardMemberType type)
            : base(board, "members/{idMember}", Method.PUT)
        {
            Guard.NotNull(member, "member");
            AddParameter("idMember", member.GetMemberId(), ParameterType.UrlSegment);

            AddParameter("type", type.ToTrelloString());
        }
コード例 #2
0
 public BoardsAddMemberRequest(IBoardId board, IMemberId member, BoardMemberType type)
     : base(board, "members/{idMember}", Method.PUT)
 {
     Guard.NotNull(member, "member");
     AddParameter("idMember", member.GetMemberId(), ParameterType.UrlSegment);
     
     AddParameter("type", type.ToTrelloString());            
 }
コード例 #3
0
        public BoardsAddMemberRequest(IBoardId board, string email, string fullName, BoardMemberType type)
            : base(board, "members", Method.PUT)
        {
            Guard.RequiredTrelloString(email, "email");
            Guard.RequiredTrelloString(fullName, "fullName");

            AddParameter("email", email);
            AddParameter("fullName", fullName);

            AddParameter("type", type.ToTrelloString());
        }
コード例 #4
0
        public BoardsAddMemberRequest(IBoardId board, string email, string fullName, BoardMemberType type)
            : base(board, "members", Method.PUT)
        {
            Guard.RequiredTrelloString(email, "email");
            Guard.RequiredTrelloString(fullName, "fullName");

            AddParameter("email", email);
            AddParameter("fullName", fullName);

            AddParameter("type", type.ToTrelloString());
        }