EndFind() static private method

static private EndFind ( IAsyncResult result ) : List
result IAsyncResult
return List
コード例 #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);
        }
コード例 #2
0
ファイル: LidgrenSessionManager.cs プロジェクト: rc183/igf
        private void OnLidgrenSessionsFound(IAsyncResult ar)
        {
            var foundSessions = new List <AvailableSession>(LidgrenSession.EndFind(ar));

            OnSessionsFound(foundSessions);
        }