public EnvironmentInspector(EnvironmentContext context) { _hostData = new HostData { HostName = context.GetHostName(), HostIps = context.GetHostIps().Select(x => x.ToString()).ToArray() }; _appVersion = context.GetAppVersion()?.ToString(); _libVersion = context.GetLibraryVersion()?.ToString(); }