Implemented interface member:
method
TryGetData<T>
System.Windows.Forms.ITypedDataObject.TryGetData<T>(System.String, System.Boolean, out T)
7 references to TryGetData
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectExtensionsTests.cs (1)
93
dataObject.
TryGetData
(DataFormats.Serializable, autoConvert, out Font? font).Should().BeFalse();
System\Windows\Forms\DataObjectTests.cs (6)
466
dataObject.
TryGetData
(format, autoConvert, out string? data).Should().BeFalse();
481
Action tryGetData = () => dataObject.
TryGetData
(format, autoConvert, out string? data);
1231
_ = dataObject.
TryGetData
(format, autoConvert: false, out object _).Should().Be(input is not null);
1232
_ = dataObject.
TryGetData
(format, autoConvert: true, out object _).Should().Be(input is not null);
1381
dataObject.
TryGetData
(format, autoConvert: false, out data).Should().Be(input is not null);
1383
dataObject.
TryGetData
(format, autoConvert: true, out data).Should().Be(input is not null);