Пример #1
0
        private void OnServerShuttingDown()
        {
            if (ServerShuttingDown == null)
            {
                return;
            }

            Task.Run(() =>
            {
                ServerShuttingDown?.Invoke(this, new InternetEventArgs {
                    Local = this
                });
            });
        }
Пример #2
0
 protected void OnServerShuttingDown()
 {
     ServerShuttingDown?.Invoke(mvarID);
 }