/// <summary>
        /// Resolves <typeparamref name="T"/> and registers that in <paramref name="informersManager"/>.
        /// </summary>
        /// <typeparam name="T">Informer type that should be registered.</typeparam>
        /// <param name="informersManager">Informers manager.</param>
        public static void Register <T>(this InformersManager informersManager)
            where T : BaseInformer
        {
            var informer = IoC.Resolve <T>();

            informersManager.Register(informer);
        }
        /// <summary>
        /// Depends on <see cref="RemoteController.WebSocket.WsServer"/>.
        /// </summary>
        /// <param name="c"></param>
        /// <returns></returns>
        public static InformersManager InformersManager(IUnityContainer c)
        {
            var informersManager = new InformersManager();
            var server           = c.Resolve <WsServer>();

            informersManager.InformerChanged +=
                (sender, informer) => informer.Send(server);

            informersManager.Start();

            return(informersManager);
        }