public ServiceControlWithErrorHandling(ServiceControl serviceControl, ILog logger) { ServiceControl = serviceControl; Logger = logger; ServiceName = ServiceControl.GetType().Assembly.GetName().Name; }