• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IBoardId类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: MembersForBoardRequest

 public MembersForBoardRequest(IBoardId board, MemberFilter filter)
     : base(board, "members")
 {
     this.AddFilter(filter);
 }
开发者ID:daniellee,项目名称:trellonet,代码行数:5,代码来源:MembersForBoardRequest.cs


示例17: AddMember

 public Task AddMember(IBoardId board, string email, string fullName, BoardMemberType type = BoardMemberType.Normal)
 {
     return _restClient.RequestAsync(new BoardsAddMemberRequest(board, email, fullName, type));
 }
开发者ID:espressomorte,项目名称:Supakull,代码行数:4,代码来源:AsyncBoards.cs


示例18: Add

 public List Add(string name, IBoardId board)
 {
     return Add(new NewList(name, board));
 }
开发者ID:daniellee,项目名称:trellonet,代码行数:4,代码来源:Lists.cs


示例19: ForBoard

 public IEnumerable<Member> ForBoard(IBoardId board, MemberFilter filter = MemberFilter.Default)
 {
     return _restClient.Request<List<Member>>(new MembersForBoardRequest(board, filter));
 }
开发者ID:daniellee,项目名称:trellonet,代码行数:4,代码来源:Members.cs


示例20: BoardRequest

 public BoardRequest(IBoardId boardId, string resource = "")
     : base("boards/{boardId}/" + resource)
 {
     AddParameter("boardId", boardId.GetBoardId(), ParameterType.UrlSegment);
 }
开发者ID:DrVoodoo,项目名称:trellonet,代码行数:5,代码来源:BoardRequest.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IBootstrap类代码示例发布时间:2022-05-24
下一篇:
C# IBoard类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap