Beispiel #1
0
 /// <summary>
 /// 禁用
 /// </summary>
 public static IDisposable Disable(this IDataState dataState, string key)
 {
     return(dataState.UseData(key, false));
 }
 /// <inheritdoc />
 public IDisposable UseCancellation(CancellationToken cancellation)
 {
     return(_dataState.UseData(CancellationTokenAccessorKey, cancellation));
 }