/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='category'> /// </param> /// <param name='collection'> /// </param> /// <param name='key'> /// </param> /// <param name='model'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task AddAsync(this IMetadata operations, string category, string collection, string key, MetadataModel model = default, CancellationToken cancellationToken = default) { await operations.RefitClient.Create(category, collection, key, model.ToChestContract()); }