コード例 #1
0
ファイル: Extensions.cs プロジェクト: teize001/Crema
        public static void Stop(this ICremaHost cremaHost, Authentication authentication)
        {
            var token = authenticationToToken[authentication];

#if SERVER
            cremaHost.Logout(authentication);
#endif
            cremaHost.Close(token);
            authenticationToToken.Remove(authentication);
        }
コード例 #2
0
 public static void ClassCleanup()
 {
     cremaHost.Dispatcher.Invoke(() => cremaHost.Close());
     cremaHost.Dispose();
 }
コード例 #3
0
 public void Cleanup()
 {
     cremaHost.Dispatcher.Invoke(() => cremaHost.Close());
 }