private void RegisterService(ComponentModel model)
 {
     DynamicService service = new DynamicService(container, model.Services.First());
     container.RegisterComponent("Service_" + service.ServiceName, typeof(IService), service);
 }
        private void RegisterService(ComponentModel model)
        {
            DynamicService service = new DynamicService(container, model.Services.First());

            container.RegisterComponent("Service_" + service.ServiceName, typeof(IService), service);
        }