Skip to content

Commit 05568be

Browse files
authored
Merge branch 'master' into danwalmsley-patch-1
2 parents d50ac66 + c8cddae commit 05568be

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
Compat issues with assembly Avalonia.Input:
22
MembersMustExist : Member 'public Avalonia.Platform.IPlatformHandle Avalonia.Input.Cursor.PlatformCursor.get()' does not exist in the implementation but it does exist in the contract.
3+
MembersMustExist : Member 'public Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Input.Gestures.DoubleTappedEvent' does not exist in the implementation but it does exist in the contract.
4+
MembersMustExist : Member 'public Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Input.Gestures.RightTappedEvent' does not exist in the implementation but it does exist in the contract.
5+
MembersMustExist : Member 'public Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Input.Gestures.TappedEvent' does not exist in the implementation but it does exist in the contract.
6+
MembersMustExist : Member 'public Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Input.InputElement.DoubleTappedEvent' does not exist in the implementation but it does exist in the contract.
7+
MembersMustExist : Member 'public Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Interactivity.RoutedEvent<Avalonia.Interactivity.RoutedEventArgs> Avalonia.Input.InputElement.TappedEvent' does not exist in the implementation but it does exist in the contract.
8+
MembersMustExist : Member 'public void Avalonia.Input.InputElement.add_DoubleTapped(System.EventHandler<Avalonia.Interactivity.RoutedEventArgs>)' does not exist in the implementation but it does exist in the contract.
9+
MembersMustExist : Member 'public void Avalonia.Input.InputElement.add_Tapped(System.EventHandler<Avalonia.Interactivity.RoutedEventArgs>)' does not exist in the implementation but it does exist in the contract.
10+
MembersMustExist : Member 'public void Avalonia.Input.InputElement.remove_DoubleTapped(System.EventHandler<Avalonia.Interactivity.RoutedEventArgs>)' does not exist in the implementation but it does exist in the contract.
11+
MembersMustExist : Member 'public void Avalonia.Input.InputElement.remove_Tapped(System.EventHandler<Avalonia.Interactivity.RoutedEventArgs>)' does not exist in the implementation but it does exist in the contract.
312
TypesMustExist : Type 'Avalonia.Platform.IStandardCursorFactory' does not exist in the implementation but it does exist in the contract.
4-
Total Issues: 2
13+
Total Issues: 11

src/Avalonia.Input/Gestures.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ namespace Avalonia.Input
66
{
77
public static class Gestures
88
{
9-
public static readonly RoutedEvent<RoutedEventArgs> TappedEvent = RoutedEvent.Register<RoutedEventArgs>(
9+
public static readonly RoutedEvent<TappedEventArgs> TappedEvent = RoutedEvent.Register<TappedEventArgs>(
1010
"Tapped",
1111
RoutingStrategies.Bubble,
1212
typeof(Gestures));
1313

14-
public static readonly RoutedEvent<RoutedEventArgs> DoubleTappedEvent = RoutedEvent.Register<RoutedEventArgs>(
14+
public static readonly RoutedEvent<TappedEventArgs> DoubleTappedEvent = RoutedEvent.Register<TappedEventArgs>(
1515
"DoubleTapped",
1616
RoutingStrategies.Bubble,
1717
typeof(Gestures));
1818

19-
public static readonly RoutedEvent<RoutedEventArgs> RightTappedEvent = RoutedEvent.Register<RoutedEventArgs>(
19+
public static readonly RoutedEvent<TappedEventArgs> RightTappedEvent = RoutedEvent.Register<TappedEventArgs>(
2020
"RightTapped",
2121
RoutingStrategies.Bubble,
2222
typeof(Gestures));

src/Avalonia.Input/InputElement.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ public class InputElement : Interactive, IInputElement
176176
/// <summary>
177177
/// Defines the <see cref="Tapped"/> event.
178178
/// </summary>
179-
public static readonly RoutedEvent<RoutedEventArgs> TappedEvent = Gestures.TappedEvent;
179+
public static readonly RoutedEvent<TappedEventArgs> TappedEvent = Gestures.TappedEvent;
180180

181181
/// <summary>
182182
/// Defines the <see cref="DoubleTapped"/> event.
183183
/// </summary>
184-
public static readonly RoutedEvent<RoutedEventArgs> DoubleTappedEvent = Gestures.DoubleTappedEvent;
184+
public static readonly RoutedEvent<TappedEventArgs> DoubleTappedEvent = Gestures.DoubleTappedEvent;
185185

186186
private bool _isEffectivelyEnabled = true;
187187
private bool _isFocused;
@@ -346,7 +346,7 @@ public event EventHandler<PointerWheelEventArgs> PointerWheelChanged
346346
/// <summary>
347347
/// Occurs when a tap gesture occurs on the control.
348348
/// </summary>
349-
public event EventHandler<RoutedEventArgs> Tapped
349+
public event EventHandler<TappedEventArgs> Tapped
350350
{
351351
add { AddHandler(TappedEvent, value); }
352352
remove { RemoveHandler(TappedEvent, value); }
@@ -355,7 +355,7 @@ public event EventHandler<RoutedEventArgs> Tapped
355355
/// <summary>
356356
/// Occurs when a double-tap gesture occurs on the control.
357357
/// </summary>
358-
public event EventHandler<RoutedEventArgs> DoubleTapped
358+
public event EventHandler<TappedEventArgs> DoubleTapped
359359
{
360360
add { AddHandler(DoubleTappedEvent, value); }
361361
remove { RemoveHandler(DoubleTappedEvent, value); }

0 commit comments

Comments
 (0)