Пример #1
0
        /// <summary>
        /// 执行方法。
        /// </summary>
        /// <param name="argument">参数。</param>
        public override async Task ExecuteAsync(Argument argument)
        {
            await _mediaDirectory.ClearDeletedPhysicalFilesAsync();

            _storageDirectory.ClearEmptyDirectories();
            await Task.Delay(100);
        }
Пример #2
0
        /// <summary>
        /// 执行方法。
        /// </summary>
        /// <param name="argument">参数。</param>
        public override async Task ExecuteAsync(Argument argument)
        {
            await _mediaDirectory.ClearDeletedPhysicalFilesAsync();

            await base.ExecuteAsync(argument);
        }