5 references to _formatToJson
System.Windows.Forms.Tests (5)
System\Windows\Forms\ClipboardTests.cs (5)
1133
return JsonSerializer.Deserialize<T>(
_formatToJson
[format]);
1137
public object GetData(string format) =>
_formatToJson
[format];
1140
public bool GetDataPresent(string format) =>
_formatToJson
.ContainsKey(format);
1143
public string[] GetFormats() =>
_formatToJson
.Keys.ToArray();
1148
_formatToJson
.Add(format, JsonSerializer.SerializeToUtf8Bytes(data));