-
-
Notifications
You must be signed in to change notification settings - Fork 5
MirrorCardAsync
Rasmus Wulff Jensen edited this page Jan 19, 2025
·
2 revisions
Mirror a Card (New Trello Feature introduced January 2025)
/// <summary>
/// Mirror a Card
/// </summary>
/// <param name="sourceCardId">The Id of the Card you wish to Mirror</param>
/// <param name="targetListId">The Id of the List the Card should Mirror to</param>
/// <param name="position">The position of the mirrored card on the target List</param>
/// <param name="cancellationToken">CancellationToken</param>
/// <returns>The Mirrored Card</returns>
public async Task<Card> MirrorCardAsync(string sourceCardId, string targetListId, NamedPosition position, CancellationToken cancellationToken = default)
or
/// <summary>
/// Mirror a Card
/// </summary>
/// <param name="sourceCardId">The Id of the Card you wish to Mirror</param>
/// <param name="targetListId">The Id of the List the Card should Mirror to</param>
/// <param name="position">The position of the mirrored card on the target List</param>
/// <param name="cancellationToken">CancellationToken</param>
/// <returns>The Mirrored Card</returns>
public async Task<Card> MirrorCardAsync(string sourceCardId, string targetListId, decimal position, CancellationToken cancellationToken = default)```var sourceCardId = "67632719612da6c1f0102e79";
var targetListId = "644d07374e0066a7b90eeddb";
var position = NamedPosition.Top;
await trelloClient.MirrorCardAsync(sourceCardId, targetListId, position);If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')