/// <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)); }