EndFind() static private method

static private EndFind ( IAsyncResult result ) : List
result IAsyncResult
return List
Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        private void OnLidgrenSessionsFound(IAsyncResult ar)
        {
            var foundSessions = new List <AvailableSession>(LidgrenSession.EndFind(ar));

            OnSessionsFound(foundSessions);
        }