28 lines
734 B
C#
28 lines
734 B
C#
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
namespace FlaxEngine.GUI
|
|
{
|
|
/// <summary>
|
|
/// The drag and drop files.
|
|
/// </summary>
|
|
/// <seealso cref="FlaxEngine.GUI.DragData" />
|
|
public class DragDataFiles : DragData
|
|
{
|
|
/// <summary>
|
|
/// The file paths collection.
|
|
/// </summary>
|
|
public readonly List<string> Files;
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="DragDataFiles"/> class.
|
|
/// </summary>
|
|
/// <param name="files">The files.</param>
|
|
public DragDataFiles(IEnumerable<string> files)
|
|
{
|
|
Files = new List<string>(files);
|
|
}
|
|
}
|
|
}
|