public static HealthCheckBuilder Add(this HealthCheckBuilder builder, string name, Func <HealthCheckContext, Task> action, string tag, bool critical = false, int frequency = 0)
        {
            if (builder == null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

            return(builder.AddCheck(name, action, TagsHelper.FromTag(tag), critical, frequency));
        }