/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App.Storage/Windows/WindowsBulkOperationsEventArgs.cs
30 строк
1 KB
yair100
Code Quality: Updated headers
01 июл 2026, 06:18
01 июл 2026, 06:18
c27305a
Код
Авторство
О чём код?
// Copyright (c) Files Community // SPDX-License-Identifier: MPL-2.0 using Windows.Win32.Foundation; using Windows.Win32.UI.Shell; namespace Files.App.Storage { [DebuggerDisplay("{" + nameof(ToString) + "()}")] public class WindowsBulkOperationsEventArgs(_TRANSFER_SOURCE_FLAGS flags = _TRANSFER_SOURCE_FLAGS.TSF_NORMAL, WindowsStorable? sourceItem = null, WindowsFolder? destinationFolder = null, WindowsStorable? newlyCreated = null, string? name = null, string? templateName = null, HRESULT result = default) : EventArgs { public _TRANSFER_SOURCE_FLAGS Flags { get; set; } = flags; public WindowsStorable? SourceItem { get; set; } = sourceItem; public WindowsFolder? DestinationFolder { get; set; } = destinationFolder; public WindowsStorable? NewlyCreated { get; set; } = newlyCreated; public string? Name { get; set; } = name; public string? TemplateName { get; set; } = templateName; public HRESULT Result { get; protected set; } = result; public override string ToString() => $"Hr:\"{Result}\"; Src:\"{SourceItem}\"; Dst:\"{DestinationFolder}\"; New:\"{NewlyCreated}\"; Name:\"{Name}\""; } }