5 instantiations of TouchPoint
Microsoft.AspNetCore.Components.Web (1)
WebEventData\TouchEventArgsReader.cs (1)
93var touchPoint = new TouchPoint();
Microsoft.AspNetCore.Components.Web.Tests (4)
WebEventData\TouchEventArgsReaderTest.cs (4)
23new TouchPoint 37new TouchPoint 47new TouchPoint 60new 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. 19public 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. 24public TouchPoint[] TargetTouches { get; set; } = Array.Empty<TouchPoint>(); 32public TouchPoint[] ChangedTouches { get; set; } = Array.Empty<TouchPoint>();
WebEventData\TouchEventArgsReader.cs (4)
79private static TouchPoint[] ReadTouchPointArray(JsonElement jsonElement) 81var touchPoints = new TouchPoint[jsonElement.GetArrayLength()]; 91private static TouchPoint ReadTouchPoint(JsonElement jsonElement) 93var touchPoint = new TouchPoint();
Microsoft.AspNetCore.Components.Web.Tests (4)
WebEventData\TouchEventArgsReaderTest.cs (4)
91private void AssertEqual(TouchPoint[] expected, TouchPoint[] actual) 100private void AssertEqual(TouchPoint expected, TouchPoint actual)