private string GetServerName(ManagementObjectBase obj) { string serverName = Servers.First(x => x.Services.Select(s => s.Name).Contains(obj.Name)).Name; return(serverName); }
private string GetServerName(ManagementObjectBase obj) { string serverName = Servers.First(x => x.Services.Select(s => s.Name).Contains(obj.Name)).Name; return serverName; }