当前位置: 首页>>代码示例>>C#>>正文


C# IBoardId类代码示例

本文整理汇总了C#中IBoardId的典型用法代码示例。如果您正苦于以下问题:C# IBoardId类的具体用法?C# IBoardId怎么用?C# IBoardId使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IBoardId类属于命名空间,在下文中一共展示了IBoardId类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BoardsChangeNameRequest

        public BoardsChangeNameRequest(IBoardId board, string name)
            : base(board, "name", Method.PUT)
        {
            Guard.NotNullOrEmpty(name, "name");

            this.AddValue(name);
        }
开发者ID:daniellee,项目名称:trellonet,代码行数:7,代码来源:BoardsChangeNameRequest.cs

示例2: ActionsForBoardRequest

		public ActionsForBoardRequest(IBoardId board, ISince since, Paging paging, IEnumerable<ActionType> types)
			: base(board, "actions")
		{
			this.AddTypeFilter(types);
			this.AddSince(since);
			this.AddPaging(paging);
		}		
开发者ID:Bunk,项目名称:trellow,代码行数:7,代码来源:ActionsForBoardRequest.cs

示例3: BoardsChangeDescriptionRequest

		public BoardsChangeDescriptionRequest(IBoardId board, string description)
			: base(board, "desc", Method.PUT)
		{
			Guard.OptionalTrelloString(description, "desc");

			this.AddValue(description);			
		}
开发者ID:Bunk,项目名称:trellow,代码行数:7,代码来源:BoardsChangeDescriptionRequest.cs

示例4: BoardsChangeDescriptionRequest

        public BoardsChangeDescriptionRequest(IBoardId board, string description)
            : base(board, "desc", Method.PUT)
        {
            Guard.NotNull(description, "description");

            this.AddValue(description);
        }
开发者ID:daniellee,项目名称:trellonet,代码行数:7,代码来源:BoardsChangeDescriptionRequest.cs

示例5: BoardsChangeNameRequest

		public BoardsChangeNameRequest(IBoardId board, string name)
			: base(board, "name", Method.PUT)
		{
			Guard.RequiredTrelloString(name, "name");

			this.AddValue(name);			
		}
开发者ID:Geniegl,项目名称:Trello.NET,代码行数:7,代码来源:BoardsChangeNameRequest.cs

示例6: NewList

		/// <param name="name">A string with a length from 1 to 16384.</param>
		/// <param name="board">Id of the board that the list should be added to.</param>
		public NewList(string name, IBoardId board)
		{
			Guard.NotNull(board, "board");

			Name = name;
			IdBoard = board;
		}
开发者ID:Geniegl,项目名称:Trello.NET,代码行数:9,代码来源:NewList.cs

示例7: NewList

        public NewList(string name, IBoardId board)
        {
            Guard.NotNullOrEmpty(name, "name");
            Guard.NotNull(board, "board");

            Name = name;
            IdBoard = board.GetBoardId();
        }
开发者ID:daniellee,项目名称:trellonet,代码行数:8,代码来源:NewList.cs

示例8: BoardsAddMemberRequest

 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());            
 }
开发者ID:Bunk,项目名称:trellow,代码行数:8,代码来源:BoardsAddMemberRequest.cs

示例9: CardsMoveToBoardRequest

		public CardsMoveToBoardRequest(ICardId card, IBoardId board, IListId list)
			: base(card, "idBoard", Method.PUT)
		{
			Guard.NotNull(board, "board");
			this.AddValue(board.GetBoardId());

			if (list != null)
				AddParameter("idList", list.GetListId());
		}
开发者ID:KennyBu,项目名称:Trello.NET,代码行数:9,代码来源:CardsMoveToBoardRequest.cs

示例10: BoardsAddMemberRequest

        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());
        }
开发者ID:espressomorte,项目名称:Supakull,代码行数:11,代码来源:BoardsAddMemberRequest.cs

示例11: Close

 public Task Close(IBoardId board)
 {
     return _restClient.RequestAsync(new BoardsCloseRequest(board));
 }
开发者ID:espressomorte,项目名称:Supakull,代码行数:4,代码来源:AsyncBoards.cs

示例12: ChangeName

 public Task ChangeName(IBoardId board, string name)
 {
     return _restClient.RequestAsync(new BoardsChangeNameRequest(board, name));
 }
开发者ID:espressomorte,项目名称:Supakull,代码行数:4,代码来源:AsyncBoards.cs

示例13: ChangePermissionLevel

 public Task ChangePermissionLevel(IBoardId board, PermissionLevel permissionLevel)
 {
     return _restClient.RequestAsync(new BoardsChangePermissionLevelRequest(board, permissionLevel));
 }
开发者ID:espressomorte,项目名称:Supakull,代码行数:4,代码来源:AsyncBoards.cs

示例14: ChangeDescription

 public Task ChangeDescription(IBoardId board, string description)
 {
     return _restClient.RequestAsync(new BoardsChangeDescriptionRequest(board, description));
 }
开发者ID:espressomorte,项目名称:Supakull,代码行数:4,代码来源:AsyncBoards.cs

示例15: ChangeLabelName

 public Task ChangeLabelName(IBoardId board, Color color, string name)
 {
     return _restClient.RequestAsync(new BoardsChangeLabelNameRequest(board, color, name));
 }
开发者ID:espressomorte,项目名称:Supakull,代码行数:4,代码来源:AsyncBoards.cs


注:本文中的IBoardId类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。