private static string GetServiceName(IRequiredService service) { string name = GetServiceName(service.Service); if (string.IsNullOrWhiteSpace(name)) { name = service.ServiceName; } if (service.RequirementType == RequirementType.RuntimeOnly) { name += " - runtimeOnly"; } return(name); }
private static string GetServiceName(IRequiredService service) { string name = GetServiceName(service.Service); if (string.IsNullOrWhiteSpace(name)) { name = service.ServiceName; } if (service.RequirementType == RequirementType.RuntimeOnly) { name += " - runtimeOnly"; } return name; }