mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
575 B
29 lines
575 B
using System.Windows; |
|
|
|
namespace ICSharpCode.TreeView.PlatformAbstractions.WpfWindows |
|
{ |
|
public class WpfWindowsDataObject : IPlatformDataObject |
|
{ |
|
private readonly IDataObject _dataObject; |
|
|
|
public WpfWindowsDataObject(IDataObject dataObject) |
|
{ |
|
_dataObject = dataObject; |
|
} |
|
|
|
public object GetData(string format) |
|
{ |
|
return _dataObject.GetData(format); |
|
} |
|
|
|
public bool GetDataPresent(string format) |
|
{ |
|
return _dataObject.GetDataPresent(format); |
|
} |
|
|
|
public void SetData(string format, object data) |
|
{ |
|
_dataObject.SetData(format, data); |
|
} |
|
} |
|
}
|
|
|