21 references to SetDataAsJson
ComDisabled.Tests (2)
ClipboardComTests.cs (1)
46dataObject.SetDataAsJson("testData", testData);
DataObjectComTests.cs (1)
23data.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)"/> 568dataObject.SetDataAsJson(format, data);
System.Windows.Forms.Tests (17)
System\Windows\Forms\ClipboardTests.cs (3)
978dataObject.SetDataAsJson("testDataFormat", testData); 994data.SetDataAsJson("testData1", testData1); 995data.SetDataAsJson("testData2", testData2);
System\Windows\Forms\DataObjectTests.cs (12)
2737data.SetDataAsJson("point", point); 2842Action action = () => dataObject.SetDataAsJson(format, new DataObject()); 2845Action dataObjectSet2 = () => dataObject.SetDataAsJson(format, new DerivedDataObject()); 2855dataObject.SetDataAsJson(format, testData); 2867dataObject.SetDataAsJson(format, testData); 2880data.SetDataAsJson("testData1", testData1); 2881data.SetDataAsJson("testData2", testData2); 2907dataObject.SetDataAsJson("custom", forecast); 3006dataObject.SetDataAsJson(format, 1); 3017data.SetDataAsJson(format, 1); 3029data.SetDataAsJson(format, testData); 3045dataObject.SetDataAsJson("test", new SimpleTestData() { X = 1, Y = 1 });
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (2)
437native.SetDataAsJson("test", value); 456native.SetDataAsJson(format, value);