public async Task <IStorageMetadata> UpdateMetadataAsync(MetadataChange metadata) { if (metadata == null) { throw new ArgumentNullException(nameof(metadata)); } try { var result = await _storageReference.UpdateMetadataAsync(metadata.ToStorageMetadata()).ConfigureAwait(false); return(new StorageMetadataWrapper(result)); } catch (NSErrorException e) { throw ExceptionMapper.Map(e); } }
public async Task <IStorageMetadata> UpdateMetadataAsync(IStorageMetadata metadata) { return((await _wrapped.UpdateMetadataAsync(metadata.ToNative())).ToAbstract()); }