File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1844,7 +1844,7 @@ ENDFUNC
18441844*** named On{Event} with event's parameters.
18451845************************************************************************
18461846FUNCTION OnCompleted(lvResult, lcMethod)
1847- LOCAL lParamText,lCount
1847+ LOCAL lParamText
18481848
18491849IF ISNULL(lvResult) OR VARTYPE(THIS.oHandler) != " O" && If the call to WaitForEvent was canceled or the handler was unsubscribed:
18501850 RETURN
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ public void EventSubscriber_WaitForFutureEvents()
3535 static void VerifyResults ( EventSubscriber subscriber )
3636 {
3737 var result = subscriber . WaitForEvent ( ) ;
38- Assert . IsTrue ( result . Name == nameof ( Loopback . NoParams ) && result . Params . Length == 0 ) ;
38+ Assert . IsTrue ( result . Name == nameof ( Loopback . NoParams ) && result . Params . Count == 0 ) ;
3939 result = subscriber . WaitForEvent ( ) ;
40- Assert . IsTrue ( result . Name == nameof ( Loopback . TwoParams ) && result . Params . Length == 2 && ( string ) result . Params [ 0 ] == "A" && ( int ) result . Params [ 1 ] == 1 ) ;
40+ Assert . IsTrue ( result . Name == nameof ( Loopback . TwoParams ) && result . Params . Count == 2 && ( string ) result . Params [ 0 ] == "A" && ( int ) result . Params [ 1 ] == 1 ) ;
4141 }
4242 }
4343
You can’t perform that action at this time.
0 commit comments