Merge branch 'master' into merge/release/3.0-preview5-to-master\n\nCommit migrated from aee3a063c1
This commit is contained in:
commit
2a056d0d7c
|
|
@ -57,9 +57,9 @@ namespace Microsoft.Extensions.Diagnostics.HealthChecks
|
|||
}
|
||||
public enum HealthStatus
|
||||
{
|
||||
Unhealthy = 0,
|
||||
Degraded = 1,
|
||||
Healthy = 2,
|
||||
Unhealthy = 0,
|
||||
}
|
||||
public partial interface IHealthCheck
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,62 +0,0 @@
|
|||
// <auto-generated />
|
||||
namespace Microsoft.Extensions.Localization
|
||||
{
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
|
||||
internal static class Resources
|
||||
{
|
||||
private static readonly ResourceManager _resourceManager
|
||||
= new ResourceManager("Microsoft.Extensions.Localization.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||
|
||||
/// <summary>
|
||||
/// The manifest '{0}' was not found.
|
||||
/// </summary>
|
||||
internal static string Localization_MissingManifest
|
||||
{
|
||||
get { return GetString("Localization_MissingManifest"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The manifest '{0}' was not found.
|
||||
/// </summary>
|
||||
internal static string FormatLocalization_MissingManifest(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("Localization_MissingManifest"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// No manifests exist for the current culture.
|
||||
/// </summary>
|
||||
internal static string Localization_MissingManifest_Parent
|
||||
{
|
||||
get { return GetString("Localization_MissingManifest_Parent"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// No manifests exist for the current culture.
|
||||
/// </summary>
|
||||
internal static string FormatLocalization_MissingManifest_Parent()
|
||||
{
|
||||
return GetString("Localization_MissingManifest_Parent");
|
||||
}
|
||||
|
||||
private static string GetString(string name, params string[] formatterNames)
|
||||
{
|
||||
var value = _resourceManager.GetString(name);
|
||||
|
||||
System.Diagnostics.Debug.Assert(value != null);
|
||||
|
||||
if (formatterNames != null)
|
||||
{
|
||||
for (var i = 0; i < formatterNames.Length; i++)
|
||||
{
|
||||
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
|
||||
}
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue