Exemplo n.º 1
0
 /// <summary>
 /// Add reference to adoxio_workers
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='workerId'>
 /// key: adoxio_workerid
 /// </param>
 /// <param name='fieldname'>
 /// key: fieldname
 /// </param>
 /// <param name='entityId'>
 /// reference value
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task AddMemberAsync(this ILists operations, string workerId, EntityIdReference entityId = default(EntityIdReference), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.AddMemberWithHttpMessagesAsync(workerId, entityId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }