EndFind() static private method

static private EndFind ( IAsyncResult result ) : List
result IAsyncResult
return List
        private void OnLidgrenSessionsFound(IAsyncResult ar)
        {
            var foundSessions = new List <AvailableSession>(LidgrenSession.EndFind(ar));

            // cleanup the temp session, this might could be reused.
            CurrentSession.EndSession(); // not sure if this is needed
            CurrentSession = null;

            OnSessionsFound(foundSessions);
        }
Beispiel #2
0
        private void OnLidgrenSessionsFound(IAsyncResult ar)
        {
            var foundSessions = new List <AvailableSession>(LidgrenSession.EndFind(ar));

            OnSessionsFound(foundSessions);
        }