mirror of https://github.com/icsharpcode/ILSpy.git
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); |
|
} |
|
} |
|
}
|
|
|