Update designer file
This commit is contained in:
parent
bae442cf48
commit
5ae6d029ce
|
|
@ -10,6 +10,22 @@ namespace Microsoft.AspNet.JsonPatch
|
|||
private static readonly ResourceManager _resourceManager
|
||||
= new ResourceManager("Microsoft.AspNet.JsonPatch.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||
|
||||
/// <summary>
|
||||
/// The property at '{0}' could not be read.
|
||||
/// </summary>
|
||||
internal static string CannotReadProperty
|
||||
{
|
||||
get { return GetString("CannotReadProperty"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at '{0}' could not be read.
|
||||
/// </summary>
|
||||
internal static string FormatCannotReadProperty(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("CannotReadProperty"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be updated.
|
||||
/// </summary>
|
||||
|
|
@ -74,6 +90,22 @@ namespace Microsoft.AspNet.JsonPatch
|
|||
return string.Format(CultureInfo.CurrentCulture, GetString("InvalidPathForArrayProperty"), p0, p1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The provided string '{0}' is an invalid path.
|
||||
/// </summary>
|
||||
internal static string InvalidValueForPath
|
||||
{
|
||||
get { return GetString("InvalidValueForPath"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The provided string '{0}' is an invalid path.
|
||||
/// </summary>
|
||||
internal static string FormatInvalidValueForPath(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("InvalidValueForPath"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The value '{0}' is invalid for property at path '{1}'.
|
||||
/// </summary>
|
||||
|
|
@ -90,6 +122,54 @@ namespace Microsoft.AspNet.JsonPatch
|
|||
return string.Format(CultureInfo.CurrentCulture, GetString("InvalidValueForProperty"), p0, p1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// '{0}' must be of type '{1}'.
|
||||
/// </summary>
|
||||
internal static string ParameterMustMatchType
|
||||
{
|
||||
get { return GetString("ParameterMustMatchType"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// '{0}' must be of type '{1}'.
|
||||
/// </summary>
|
||||
internal static string FormatParameterMustMatchType(object p0, object p1)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("ParameterMustMatchType"), p0, p1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be added.
|
||||
/// </summary>
|
||||
internal static string PropertyCannotBeAdded
|
||||
{
|
||||
get { return GetString("PropertyCannotBeAdded"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be added.
|
||||
/// </summary>
|
||||
internal static string FormatPropertyCannotBeAdded(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeAdded"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be removed.
|
||||
/// </summary>
|
||||
internal static string PropertyCannotBeRemoved
|
||||
{
|
||||
get { return GetString("PropertyCannotBeRemoved"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be removed.
|
||||
/// </summary>
|
||||
internal static string FormatPropertyCannotBeRemoved(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeRemoved"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Property does not exist at path '{0}'.
|
||||
/// </summary>
|
||||
|
|
@ -122,89 +202,6 @@ namespace Microsoft.AspNet.JsonPatch
|
|||
return GetString("TestOperationNotSupported");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// objectType must be of type JsonPatchDocument.
|
||||
/// </summary>
|
||||
internal static string ParameterMustMatchType
|
||||
{
|
||||
get { return GetString("ParameterMustMatchType"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// objectType must be of type JsonPatchDocument.
|
||||
/// </summary>
|
||||
internal static string FormatParameterMustMatchType(object p0, object p1)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("ParameterMustMatchType"), p0, p1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at '{0}' could not be read.
|
||||
/// </summary>
|
||||
internal static string CannotReadProperty
|
||||
{
|
||||
get { return GetString("CannotReadProperty"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at '{0}' could not be read.
|
||||
/// </summary>
|
||||
internal static string FormatCannotReadProperty(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("CannotReadProperty"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The provided string '{0}' is an invalid path.
|
||||
/// </summary>
|
||||
internal static string InvalidValueForPath
|
||||
{
|
||||
get { return GetString("InvalidValueForPath"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The provided string '{0}' is an invalid path.
|
||||
/// </summary>
|
||||
internal static string FormatInvalidValueForPath(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("InvalidValueForPath"), p0);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be removed.
|
||||
/// </summary>
|
||||
internal static string PropertyCannotBeRemoved
|
||||
{
|
||||
get { return GetString("PropertyCannotBeRemoved"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be removed.
|
||||
/// </summary>
|
||||
internal static string FormatPropertyCannotBeRemoved(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeRemoved"), p0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be added.
|
||||
/// </summary>
|
||||
internal static string PropertyCannotBeAdded
|
||||
{
|
||||
get { return GetString("PropertyCannotBeAdded"); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The property at path '{0}' could not be added.
|
||||
/// </summary>
|
||||
internal static string FormatPropertyCannotBeAdded(object p0)
|
||||
{
|
||||
return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeAdded"), p0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static string GetString(string name, params string[] formatterNames)
|
||||
{
|
||||
var value = _resourceManager.GetString(name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue