@@ -29,20 +29,20 @@ public class ParseLiveQuerySubscription<T> : IParseLiveQuerySubscription where T
2929 /// This event is triggered when an object that did not previously match the query (and was thus not part of the subscription)
3030 /// starts matching the query, typically due to an update.
3131 /// </summary>
32- public event EventHandler < ParseLiveQueryEventArgs > Enter ;
32+ public event EventHandler < DualParseLiveQueryEventArgs > Enter ;
3333
3434 /// <summary>
3535 /// Represents the Update event for a live query subscription.
3636 /// This event is triggered when an existing object matching the subscription's query is updated.
3737 /// </summary>
38- public event EventHandler < ParseLiveQueryEventArgs > Update ;
38+ public event EventHandler < DualParseLiveQueryEventArgs > Update ;
3939
4040 /// <summary>
4141 /// Represents the Leave event for a live query subscription.
4242 /// This event is triggered when an object that previously matched the subscription's query
4343 /// no longer matches the criteria and is removed.
4444 /// </summary>
45- public event EventHandler < ParseLiveQueryEventArgs > Leave ;
45+ public event EventHandler < DualParseLiveQueryEventArgs > Leave ;
4646
4747 /// <summary>
4848 /// Represents the Delete event for a live query subscription.
@@ -112,7 +112,7 @@ public void OnCreate(IObjectState objectState)
112112 /// <param name="originalState">The original state of the object before entering the query result set.</param>
113113 public void OnEnter ( IObjectState objectState , IObjectState originalState )
114114 {
115- Enter ? . Invoke ( this , new ParseLiveQueryEventArgs (
115+ Enter ? . Invoke ( this , new DualParseLiveQueryEventArgs (
116116 Services . GenerateObjectFromState < T > ( objectState , ClassName ) ,
117117 Services . GenerateObjectFromState < T > ( originalState , ClassName ) ) ) ;
118118 }
@@ -125,7 +125,7 @@ public void OnEnter(IObjectState objectState, IObjectState originalState)
125125 /// <param name="originalState">The original state of the object before the update.</param>
126126 public void OnUpdate ( IObjectState objectState , IObjectState originalState )
127127 {
128- Update ? . Invoke ( this , new ParseLiveQueryEventArgs (
128+ Update ? . Invoke ( this , new DualParseLiveQueryEventArgs (
129129 Services . GenerateObjectFromState < T > ( objectState , ClassName ) ,
130130 Services . GenerateObjectFromState < T > ( originalState , ClassName ) ) ) ;
131131 }
@@ -139,7 +139,7 @@ public void OnUpdate(IObjectState objectState, IObjectState originalState)
139139 /// <param name="originalState">The original state of the object before it left the result set.</param>
140140 public void OnLeave ( IObjectState objectState , IObjectState originalState )
141141 {
142- Leave ? . Invoke ( this , new ParseLiveQueryEventArgs (
142+ Leave ? . Invoke ( this , new DualParseLiveQueryEventArgs (
143143 Services . GenerateObjectFromState < T > ( objectState , ClassName ) ,
144144 Services . GenerateObjectFromState < T > ( originalState , ClassName ) ) ) ;
145145 }
0 commit comments