本文整理汇总了C#中IBoardId.GetBoardId方法的典型用法代码示例。如果您正苦于以下问题:C# IBoardId.GetBoardId方法的具体用法?C# IBoardId.GetBoardId怎么用?C# IBoardId.GetBoardId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IBoardId
的用法示例。
在下文中一共展示了IBoardId.GetBoardId方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: NewList
public NewList(string name, IBoardId board)
{
Guard.NotNullOrEmpty(name, "name");
Guard.NotNull(board, "board");
Name = name;
IdBoard = board.GetBoardId();
}
示例2: 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());
}
示例3: BoardRequest
public BoardRequest(IBoardId boardId, string resource = "")
: base("boards/{boardId}/" + resource)
{
AddParameter("boardId", boardId.GetBoardId(), ParameterType.UrlSegment);
}
示例4: BoardsRequest
public BoardsRequest(IBoardId board, string resource = "", Method method = Method.GET)
: base("boards/{boardId}/" + resource, method)
{
Guard.NotNull(board, "board");
AddParameter("boardId", board.GetBoardId(), ParameterType.UrlSegment);
}