diff --git a/src/Microsoft.AspNet.JsonPatch/Properties/Resources.Designer.cs b/src/Microsoft.AspNet.JsonPatch/Properties/Resources.Designer.cs index 15fdcb6194..f31d03b7f1 100644 --- a/src/Microsoft.AspNet.JsonPatch/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNet.JsonPatch/Properties/Resources.Designer.cs @@ -10,6 +10,22 @@ namespace Microsoft.AspNet.JsonPatch private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNet.JsonPatch.Resources", typeof(Resources).GetTypeInfo().Assembly); + /// + /// The property at '{0}' could not be read. + /// + internal static string CannotReadProperty + { + get { return GetString("CannotReadProperty"); } + } + + /// + /// The property at '{0}' could not be read. + /// + internal static string FormatCannotReadProperty(object p0) + { + return string.Format(CultureInfo.CurrentCulture, GetString("CannotReadProperty"), p0); + } + /// /// The property at path '{0}' could not be updated. /// @@ -74,6 +90,22 @@ namespace Microsoft.AspNet.JsonPatch return string.Format(CultureInfo.CurrentCulture, GetString("InvalidPathForArrayProperty"), p0, p1); } + /// + /// The provided string '{0}' is an invalid path. + /// + internal static string InvalidValueForPath + { + get { return GetString("InvalidValueForPath"); } + } + + /// + /// The provided string '{0}' is an invalid path. + /// + internal static string FormatInvalidValueForPath(object p0) + { + return string.Format(CultureInfo.CurrentCulture, GetString("InvalidValueForPath"), p0); + } + /// /// The value '{0}' is invalid for property at path '{1}'. /// @@ -90,6 +122,54 @@ namespace Microsoft.AspNet.JsonPatch return string.Format(CultureInfo.CurrentCulture, GetString("InvalidValueForProperty"), p0, p1); } + /// + /// '{0}' must be of type '{1}'. + /// + internal static string ParameterMustMatchType + { + get { return GetString("ParameterMustMatchType"); } + } + + /// + /// '{0}' must be of type '{1}'. + /// + internal static string FormatParameterMustMatchType(object p0, object p1) + { + return string.Format(CultureInfo.CurrentCulture, GetString("ParameterMustMatchType"), p0, p1); + } + + /// + /// The property at path '{0}' could not be added. + /// + internal static string PropertyCannotBeAdded + { + get { return GetString("PropertyCannotBeAdded"); } + } + + /// + /// The property at path '{0}' could not be added. + /// + internal static string FormatPropertyCannotBeAdded(object p0) + { + return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeAdded"), p0); + } + + /// + /// The property at path '{0}' could not be removed. + /// + internal static string PropertyCannotBeRemoved + { + get { return GetString("PropertyCannotBeRemoved"); } + } + + /// + /// The property at path '{0}' could not be removed. + /// + internal static string FormatPropertyCannotBeRemoved(object p0) + { + return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeRemoved"), p0); + } + /// /// Property does not exist at path '{0}'. /// @@ -122,89 +202,6 @@ namespace Microsoft.AspNet.JsonPatch return GetString("TestOperationNotSupported"); } - /// - /// objectType must be of type JsonPatchDocument. - /// - internal static string ParameterMustMatchType - { - get { return GetString("ParameterMustMatchType"); } - } - - /// - /// objectType must be of type JsonPatchDocument. - /// - internal static string FormatParameterMustMatchType(object p0, object p1) - { - return string.Format(CultureInfo.CurrentCulture, GetString("ParameterMustMatchType"), p0, p1); - } - - /// - /// The property at '{0}' could not be read. - /// - internal static string CannotReadProperty - { - get { return GetString("CannotReadProperty"); } - } - - /// - /// The property at '{0}' could not be read. - /// - internal static string FormatCannotReadProperty(object p0) - { - return string.Format(CultureInfo.CurrentCulture, GetString("CannotReadProperty"), p0); - } - - /// - /// The provided string '{0}' is an invalid path. - /// - internal static string InvalidValueForPath - { - get { return GetString("InvalidValueForPath"); } - } - - /// - /// The provided string '{0}' is an invalid path. - /// - internal static string FormatInvalidValueForPath(object p0) - { - return string.Format(CultureInfo.CurrentCulture, GetString("InvalidValueForPath"), p0); - } - - - /// - /// The property at path '{0}' could not be removed. - /// - internal static string PropertyCannotBeRemoved - { - get { return GetString("PropertyCannotBeRemoved"); } - } - - /// - /// The property at path '{0}' could not be removed. - /// - internal static string FormatPropertyCannotBeRemoved(object p0) - { - return string.Format(CultureInfo.CurrentCulture, GetString("PropertyCannotBeRemoved"), p0); - } - - /// - /// The property at path '{0}' could not be added. - /// - internal static string PropertyCannotBeAdded - { - get { return GetString("PropertyCannotBeAdded"); } - } - - /// - /// The property at path '{0}' could not be added. - /// - 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);