21 references to SetDataAsJson
ComDisabled.Tests (2)
ClipboardComTests.cs (1)
46
dataObject.
SetDataAsJson
("testData", testData);
DataObjectComTests.cs (1)
23
data.
SetDataAsJson
("testData", testData);
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (2)
526
/// If <see cref="DataObject"/> needs to be placed on the clipboard, use <see cref="DataObject.
SetDataAsJson
{T}(string, T)"/>
568
dataObject.
SetDataAsJson
(format, data);
System.Windows.Forms.Tests (17)
System\Windows\Forms\ClipboardTests.cs (3)
978
dataObject.
SetDataAsJson
("testDataFormat", testData);
994
data.
SetDataAsJson
("testData1", testData1);
995
data.
SetDataAsJson
("testData2", testData2);
System\Windows\Forms\DataObjectTests.cs (12)
2737
data.
SetDataAsJson
("point", point);
2842
Action action = () => dataObject.
SetDataAsJson
(format, new DataObject());
2845
Action dataObjectSet2 = () => dataObject.
SetDataAsJson
(format, new DerivedDataObject());
2855
dataObject.
SetDataAsJson
(format, testData);
2867
dataObject.
SetDataAsJson
(format, testData);
2880
data.
SetDataAsJson
("testData1", testData1);
2881
data.
SetDataAsJson
("testData2", testData2);
2907
dataObject.
SetDataAsJson
("custom", forecast);
3006
dataObject.
SetDataAsJson
(format, 1);
3017
data.
SetDataAsJson
(format, 1);
3029
data.
SetDataAsJson
(format, testData);
3045
dataObject.
SetDataAsJson
("test", new SimpleTestData() { X = 1, Y = 1 });
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (2)
437
native.
SetDataAsJson
("test", value);
456
native.
SetDataAsJson
(format, value);