forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileDropEventArgs.cs
More file actions
28 lines (25 loc) · 838 Bytes
/
FileDropEventArgs.cs
File metadata and controls
28 lines (25 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace Microsoft.Xna.Framework
{
/// <summary>
/// This class is used in the <see cref="GameWindow.FileDrop"/> event as <see cref="EventArgs"/>.
/// </summary>
public struct FileDropEventArgs
{
/// <summary>
/// Creates an instance of <see cref="FileDropEventArgs"/>.
/// </summary>
/// <param name="files">Array of paths to dropped files.</param>
public FileDropEventArgs(string[] files)
{
Files = files;
}
/// <summary>
/// The paths of dropped files
/// </summary>
public string[] Files { get; private set; }
}
}