/// <summary> /// Loads location specific settings for each module via a service request. /// </summary> /// <param name="requestPath"></param> internal void LoadLocationContextSettings(string requestPath) { // Get settings from a service var dispatcher = new ServiceDispatcher(); var settings = dispatcher.GetLocationContextSettings(); if (settings != null) { _id = settings.Single(s => s.Key.ToString() == "LocationContextId").Value; AddModuleUrlInfoToCollection("Provider", settings); AddModuleUrlInfoToCollection("Event", settings); AddModuleUrlInfoToCollection("Location", settings); AddModuleUrlInfoToCollection("Service", settings); } }