public Task OnCreatedAsync(UploadCreatedEvent @event, CancellationToken ct) { var assetEvent = new AssetUploadCreatedEvent(@event.FileId); return(inner.OnCreatedAsync(assetEvent, ct)); }
async Task IAssetProgressHandler.OnCreatedAsync(AssetUploadCreatedEvent @event, CancellationToken ct) { var handler = OnCreatedAsync; if (handler != null) { await handler(@event, ct); } }