Sync resources.designer.cs and resx files

This commit is contained in:
Nate McMaster 2016-11-10 14:19:01 -08:00
Родитель 5d08dac609
Коммит a8b6008d37
3 изменённых файлов: 18 добавлений и 34 удалений

Просмотреть файл

@ -10,6 +10,22 @@ namespace Microsoft.Extensions.Configuration.FileExtensions
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.Extensions.Configuration.FileExtensions.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The expected physical path was '{0}'.
/// </summary>
internal static string Error_ExpectedPhysicalPath
{
get { return GetString("Error_ExpectedPhysicalPath"); }
}
/// <summary>
/// The expected physical path was '{0}'.
/// </summary>
internal static string FormatError_ExpectedPhysicalPath(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Error_ExpectedPhysicalPath"), p0);
}
/// <summary>
/// The configuration file '{0}' was not found and is not optional.
/// </summary>
@ -26,22 +42,6 @@ namespace Microsoft.Extensions.Configuration.FileExtensions
return string.Format(CultureInfo.CurrentCulture, GetString("Error_FileNotFound"), p0);
}
/// <summary>
/// The expected physical path was '{0}'.
/// </summary>
internal static string Error_ExpectedPhysicalPath
{
get { return GetString("Error_FileNotFound"); }
}
/// <summary>
/// The expected physical path was '{0}'.
/// </summary>
internal static string FormatError_ExpectedPhysicalPath(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Error_ExpectedPhysicalPath"), p0);
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);

Просмотреть файл

@ -10,22 +10,6 @@ namespace Microsoft.Extensions.Configuration.Ini
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.Extensions.Configuration.Ini.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The configuration file '{0}' was not found and is not optional.
/// </summary>
internal static string Error_FileNotFound
{
get { return GetString("Error_FileNotFound"); }
}
/// <summary>
/// The configuration file '{0}' was not found and is not optional.
/// </summary>
internal static string FormatError_FileNotFound(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Error_FileNotFound"), p0);
}
/// <summary>
/// File path must be a non-empty string.
/// </summary>

Просмотреть файл

@ -11,7 +11,7 @@ namespace Microsoft.Extensions.Configuration
= new ResourceManager("Microsoft.Extensions.Configuration.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// A configuration provider is not registered. Please register one before setting a value.
/// A configuration source is not registered. Please register one before setting a value.
/// </summary>
internal static string Error_NoSources
{
@ -19,7 +19,7 @@ namespace Microsoft.Extensions.Configuration
}
/// <summary>
/// A configuration provider is not registered. Please register one before setting a value.
/// A configuration source is not registered. Please register one before setting a value.
/// </summary>
internal static string FormatError_NoSources()
{