/// <summary> /// /// </summary> /// <returns></returns> internal KeyValuePair <string, object>[] GetConfiguration() { return(serviceList .Select(svc => new KeyValuePair <string, object>(svc.GetType().Name, GameService.GetConfigObject(svc))) .ToArray()); }
/// <summary> /// Gets service by name. /// </summary> /// <param name="name"></param> /// <returns></returns> internal object GetConfigObjectByServiceName(string name) { var svc = GetServiceByName(name); return(GameService.GetConfigObject(svc)); }