Ejemplo n.º 1
0
        /// <summary>
        /// Maps the related information together, like base controllers
        /// </summary>
        public void MapRelatedInfo()
        {
            foreach (var client in HttpClients)
            {
                if (!string.IsNullOrEmpty(client.BaseClass))
                {
                    client.BaseController = HttpClients.SingleOrDefault(x => x.Name == client.BaseClass);
                }
            }

            foreach (var client in HubClients)
            {
                if (!string.IsNullOrEmpty(client.BaseClass))
                {
                    client.BaseController = HubClients.SingleOrDefault(x => x.Name == client.BaseClass);
                }
            }
        }