/// <summary> /// 执行方法。 /// </summary> /// <param name="argument">参数。</param> public override async Task ExecuteAsync(Argument argument) { await _mediaDirectory.ClearDeletedPhysicalFilesAsync(); _storageDirectory.ClearEmptyDirectories(); await Task.Delay(100); }
/// <summary> /// 执行方法。 /// </summary> /// <param name="argument">参数。</param> public override async Task ExecuteAsync(Argument argument) { await _mediaDirectory.ClearDeletedPhysicalFilesAsync(); await base.ExecuteAsync(argument); }