5 instantiations of TouchPoint
Microsoft.AspNetCore.Components.Web (1)
WebEventData\TouchEventArgsReader.cs (1)
93
var touchPoint = new
TouchPoint
();
Microsoft.AspNetCore.Components.Web.Tests (4)
WebEventData\TouchEventArgsReaderTest.cs (4)
23
new
TouchPoint
37
new
TouchPoint
47
new
TouchPoint
60
new
TouchPoint
16 references to TouchPoint
Microsoft.AspNetCore.Components.Web (12)
Web\TouchEventArgs.cs (8)
17
/// A list of <see cref="
TouchPoint
"/> for every point of contact currently touching the surface.
19
public
TouchPoint
[] Touches { get; set; } = Array.Empty<
TouchPoint
>();
22
/// A list of <see cref="
TouchPoint
"/> for every point of contact that is touching the surface and started on the element that is the target of the current event.
24
public
TouchPoint
[] TargetTouches { get; set; } = Array.Empty<
TouchPoint
>();
32
public
TouchPoint
[] ChangedTouches { get; set; } = Array.Empty<
TouchPoint
>();
WebEventData\TouchEventArgsReader.cs (4)
79
private static
TouchPoint
[] ReadTouchPointArray(JsonElement jsonElement)
81
var touchPoints = new
TouchPoint
[jsonElement.GetArrayLength()];
91
private static
TouchPoint
ReadTouchPoint(JsonElement jsonElement)
93
var
touchPoint = new TouchPoint();
Microsoft.AspNetCore.Components.Web.Tests (4)
WebEventData\TouchEventArgsReaderTest.cs (4)
91
private void AssertEqual(
TouchPoint
[] expected,
TouchPoint
[] actual)
100
private void AssertEqual(
TouchPoint
expected,
TouchPoint
actual)