/// <inheritdoc />
        public override async Task SetValueAsync(string value, CancellationToken ct)
        {
            _value = value;
            var element = await GetXmlValueAsync(ct).ConfigureAwait(false);

            await _store.SetAsync(_entry, element, ct).ConfigureAwait(false);
        }
Пример #2
0
 /// <inheritdoc />
 public Task SetXmlValueAsync(XElement element, CancellationToken ct)
 {
     _cachedValue = element;
     return(_store.SetAsync(_entry, element, ct));
 }