Пример #1
0
 internal override void Disconnect(MediatorContext mediatorContext, IClientContext clientContext, IPeerContext peerContext)
 {
     mediatorContext.State = new DisconnectingState();
     peerContext.DisconnectAll();
     clientContext.Part();
 }