using System.Collections.Generic;
namespace Avalonia.Input
{
///
/// Interface to access information about the data of a drag-and-drop operation.
///
public interface IDataObject
{
///
/// Lists all formats which are present in the DataObject.
///
///
IEnumerable GetDataFormats();
///
/// Checks wether a given DataFormat is present in this object
///
///
bool Contains(string dataFormat);
///
/// Returns the dragged text if the DataObject contains any text.
///
///
string GetText();
///
/// Returns a list of filenames if the DataObject contains filenames.
///
///
IEnumerable GetFileNames();
///
/// Tries to get the data of the given DataFormat.
///
object Get(string dataFormat);
}
}