Updates to generated resource files

This commit is contained in:
Ryan Nowak 2017-05-24 08:32:15 -07:00
parent 9a6cb89b8d
commit 1165a1de33
2 changed files with 62 additions and 122 deletions

View File

@ -15,32 +15,28 @@ namespace Microsoft.AspNetCore.Routing.Abstractions
/// </summary> /// </summary>
internal static string RouteValueDictionary_DuplicateKey internal static string RouteValueDictionary_DuplicateKey
{ {
get { return GetString("RouteValueDictionary_DuplicateKey"); } get => GetString("RouteValueDictionary_DuplicateKey");
} }
/// <summary> /// <summary>
/// An element with the key '{0}' already exists in the {1}. /// An element with the key '{0}' already exists in the {1}.
/// </summary> /// </summary>
internal static string FormatRouteValueDictionary_DuplicateKey(object p0, object p1) internal static string FormatRouteValueDictionary_DuplicateKey(object p0, object p1)
{ => string.Format(CultureInfo.CurrentCulture, GetString("RouteValueDictionary_DuplicateKey"), p0, p1);
return string.Format(CultureInfo.CurrentCulture, GetString("RouteValueDictionary_DuplicateKey"), p0, p1);
}
/// <summary> /// <summary>
/// The type '{0}' defines properties '{1}' and '{2}' which differ only by casing. This is not supported by {3} which uses case-insensitive comparisons. /// The type '{0}' defines properties '{1}' and '{2}' which differ only by casing. This is not supported by {3} which uses case-insensitive comparisons.
/// </summary> /// </summary>
internal static string RouteValueDictionary_DuplicatePropertyName internal static string RouteValueDictionary_DuplicatePropertyName
{ {
get { return GetString("RouteValueDictionary_DuplicatePropertyName"); } get => GetString("RouteValueDictionary_DuplicatePropertyName");
} }
/// <summary> /// <summary>
/// The type '{0}' defines properties '{1}' and '{2}' which differ only by casing. This is not supported by {3} which uses case-insensitive comparisons. /// The type '{0}' defines properties '{1}' and '{2}' which differ only by casing. This is not supported by {3} which uses case-insensitive comparisons.
/// </summary> /// </summary>
internal static string FormatRouteValueDictionary_DuplicatePropertyName(object p0, object p1, object p2, object p3) internal static string FormatRouteValueDictionary_DuplicatePropertyName(object p0, object p1, object p2, object p3)
{ => string.Format(CultureInfo.CurrentCulture, GetString("RouteValueDictionary_DuplicatePropertyName"), p0, p1, p2, p3);
return string.Format(CultureInfo.CurrentCulture, GetString("RouteValueDictionary_DuplicatePropertyName"), p0, p1, p2, p3);
}
private static string GetString(string name, params string[] formatterNames) private static string GetString(string name, params string[] formatterNames)
{ {

View File

@ -15,448 +15,392 @@ namespace Microsoft.AspNetCore.Routing
/// </summary> /// </summary>
internal static string ArgumentMustBeGreaterThanOrEqualTo internal static string ArgumentMustBeGreaterThanOrEqualTo
{ {
get { return GetString("ArgumentMustBeGreaterThanOrEqualTo"); } get => GetString("ArgumentMustBeGreaterThanOrEqualTo");
} }
/// <summary> /// <summary>
/// Value must be greater than or equal to {0}. /// Value must be greater than or equal to {0}.
/// </summary> /// </summary>
internal static string FormatArgumentMustBeGreaterThanOrEqualTo(object p0) internal static string FormatArgumentMustBeGreaterThanOrEqualTo(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("ArgumentMustBeGreaterThanOrEqualTo"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("ArgumentMustBeGreaterThanOrEqualTo"), p0);
}
/// <summary> /// <summary>
/// The value for argument '{0}' should be less than or equal to the value for the argument '{1}'. /// The value for argument '{0}' should be less than or equal to the value for the argument '{1}'.
/// </summary> /// </summary>
internal static string RangeConstraint_MinShouldBeLessThanOrEqualToMax internal static string RangeConstraint_MinShouldBeLessThanOrEqualToMax
{ {
get { return GetString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"); } get => GetString("RangeConstraint_MinShouldBeLessThanOrEqualToMax");
} }
/// <summary> /// <summary>
/// The value for argument '{0}' should be less than or equal to the value for the argument '{1}'. /// The value for argument '{0}' should be less than or equal to the value for the argument '{1}'.
/// </summary> /// </summary>
internal static string FormatRangeConstraint_MinShouldBeLessThanOrEqualToMax(object p0, object p1) internal static string FormatRangeConstraint_MinShouldBeLessThanOrEqualToMax(object p0, object p1)
{ => string.Format(CultureInfo.CurrentCulture, GetString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"), p0, p1);
return string.Format(CultureInfo.CurrentCulture, GetString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"), p0, p1);
}
/// <summary> /// <summary>
/// The '{0}' property of '{1}' must not be null. /// The '{0}' property of '{1}' must not be null.
/// </summary> /// </summary>
internal static string PropertyOfTypeCannotBeNull internal static string PropertyOfTypeCannotBeNull
{ {
get { return GetString("PropertyOfTypeCannotBeNull"); } get => GetString("PropertyOfTypeCannotBeNull");
} }
/// <summary> /// <summary>
/// The '{0}' property of '{1}' must not be null. /// The '{0}' property of '{1}' must not be null.
/// </summary> /// </summary>
internal static string FormatPropertyOfTypeCannotBeNull(object p0, object p1) internal static string FormatPropertyOfTypeCannotBeNull(object p0, object p1)
{ => string.Format(CultureInfo.CurrentCulture, GetString("PropertyOfTypeCannotBeNull"), p0, p1);
return string.Format(CultureInfo.CurrentCulture, GetString("PropertyOfTypeCannotBeNull"), p0, p1);
}
/// <summary> /// <summary>
/// The supplied route name '{0}' is ambiguous and matched more than one route. /// The supplied route name '{0}' is ambiguous and matched more than one route.
/// </summary> /// </summary>
internal static string NamedRoutes_AmbiguousRoutesFound internal static string NamedRoutes_AmbiguousRoutesFound
{ {
get { return GetString("NamedRoutes_AmbiguousRoutesFound"); } get => GetString("NamedRoutes_AmbiguousRoutesFound");
} }
/// <summary> /// <summary>
/// The supplied route name '{0}' is ambiguous and matched more than one route. /// The supplied route name '{0}' is ambiguous and matched more than one route.
/// </summary> /// </summary>
internal static string FormatNamedRoutes_AmbiguousRoutesFound(object p0) internal static string FormatNamedRoutes_AmbiguousRoutesFound(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("NamedRoutes_AmbiguousRoutesFound"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("NamedRoutes_AmbiguousRoutesFound"), p0);
}
/// <summary> /// <summary>
/// A default handler must be set on the {0}. /// A default handler must be set on the {0}.
/// </summary> /// </summary>
internal static string DefaultHandler_MustBeSet internal static string DefaultHandler_MustBeSet
{ {
get { return GetString("DefaultHandler_MustBeSet"); } get => GetString("DefaultHandler_MustBeSet");
} }
/// <summary> /// <summary>
/// A default handler must be set on the {0}. /// A default handler must be set on the {0}.
/// </summary> /// </summary>
internal static string FormatDefaultHandler_MustBeSet(object p0) internal static string FormatDefaultHandler_MustBeSet(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("DefaultHandler_MustBeSet"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("DefaultHandler_MustBeSet"), p0);
}
/// <summary> /// <summary>
/// The constructor to use for activating the constraint type '{0}' is ambiguous. Multiple constructors were found with the following number of parameters: {1}. /// The constructor to use for activating the constraint type '{0}' is ambiguous. Multiple constructors were found with the following number of parameters: {1}.
/// </summary> /// </summary>
internal static string DefaultInlineConstraintResolver_AmbiguousCtors internal static string DefaultInlineConstraintResolver_AmbiguousCtors
{ {
get { return GetString("DefaultInlineConstraintResolver_AmbiguousCtors"); } get => GetString("DefaultInlineConstraintResolver_AmbiguousCtors");
} }
/// <summary> /// <summary>
/// The constructor to use for activating the constraint type '{0}' is ambiguous. Multiple constructors were found with the following number of parameters: {1}. /// The constructor to use for activating the constraint type '{0}' is ambiguous. Multiple constructors were found with the following number of parameters: {1}.
/// </summary> /// </summary>
internal static string FormatDefaultInlineConstraintResolver_AmbiguousCtors(object p0, object p1) internal static string FormatDefaultInlineConstraintResolver_AmbiguousCtors(object p0, object p1)
{ => string.Format(CultureInfo.CurrentCulture, GetString("DefaultInlineConstraintResolver_AmbiguousCtors"), p0, p1);
return string.Format(CultureInfo.CurrentCulture, GetString("DefaultInlineConstraintResolver_AmbiguousCtors"), p0, p1);
}
/// <summary> /// <summary>
/// Could not find a constructor for constraint type '{0}' with the following number of parameters: {1}. /// Could not find a constructor for constraint type '{0}' with the following number of parameters: {1}.
/// </summary> /// </summary>
internal static string DefaultInlineConstraintResolver_CouldNotFindCtor internal static string DefaultInlineConstraintResolver_CouldNotFindCtor
{ {
get { return GetString("DefaultInlineConstraintResolver_CouldNotFindCtor"); } get => GetString("DefaultInlineConstraintResolver_CouldNotFindCtor");
} }
/// <summary> /// <summary>
/// Could not find a constructor for constraint type '{0}' with the following number of parameters: {1}. /// Could not find a constructor for constraint type '{0}' with the following number of parameters: {1}.
/// </summary> /// </summary>
internal static string FormatDefaultInlineConstraintResolver_CouldNotFindCtor(object p0, object p1) internal static string FormatDefaultInlineConstraintResolver_CouldNotFindCtor(object p0, object p1)
{ => string.Format(CultureInfo.CurrentCulture, GetString("DefaultInlineConstraintResolver_CouldNotFindCtor"), p0, p1);
return string.Format(CultureInfo.CurrentCulture, GetString("DefaultInlineConstraintResolver_CouldNotFindCtor"), p0, p1);
}
/// <summary> /// <summary>
/// The constraint type '{0}' which is mapped to constraint key '{1}' must implement the '{2}' interface. /// The constraint type '{0}' which is mapped to constraint key '{1}' must implement the '{2}' interface.
/// </summary> /// </summary>
internal static string DefaultInlineConstraintResolver_TypeNotConstraint internal static string DefaultInlineConstraintResolver_TypeNotConstraint
{ {
get { return GetString("DefaultInlineConstraintResolver_TypeNotConstraint"); } get => GetString("DefaultInlineConstraintResolver_TypeNotConstraint");
} }
/// <summary> /// <summary>
/// The constraint type '{0}' which is mapped to constraint key '{1}' must implement the '{2}' interface. /// The constraint type '{0}' which is mapped to constraint key '{1}' must implement the '{2}' interface.
/// </summary> /// </summary>
internal static string FormatDefaultInlineConstraintResolver_TypeNotConstraint(object p0, object p1, object p2) internal static string FormatDefaultInlineConstraintResolver_TypeNotConstraint(object p0, object p1, object p2)
{ => string.Format(CultureInfo.CurrentCulture, GetString("DefaultInlineConstraintResolver_TypeNotConstraint"), p0, p1, p2);
return string.Format(CultureInfo.CurrentCulture, GetString("DefaultInlineConstraintResolver_TypeNotConstraint"), p0, p1, p2);
}
/// <summary> /// <summary>
/// A path segment that contains more than one section, such as a literal section or a parameter, cannot contain a catch-all parameter. /// A path segment that contains more than one section, such as a literal section or a parameter, cannot contain a catch-all parameter.
/// </summary> /// </summary>
internal static string TemplateRoute_CannotHaveCatchAllInMultiSegment internal static string TemplateRoute_CannotHaveCatchAllInMultiSegment
{ {
get { return GetString("TemplateRoute_CannotHaveCatchAllInMultiSegment"); } get => GetString("TemplateRoute_CannotHaveCatchAllInMultiSegment");
} }
/// <summary> /// <summary>
/// A path segment that contains more than one section, such as a literal section or a parameter, cannot contain a catch-all parameter. /// A path segment that contains more than one section, such as a literal section or a parameter, cannot contain a catch-all parameter.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_CannotHaveCatchAllInMultiSegment() internal static string FormatTemplateRoute_CannotHaveCatchAllInMultiSegment()
{ => GetString("TemplateRoute_CannotHaveCatchAllInMultiSegment");
return GetString("TemplateRoute_CannotHaveCatchAllInMultiSegment");
}
/// <summary> /// <summary>
/// The route parameter '{0}' has both an inline default value and an explicit default value specified. A route parameter cannot contain an inline default value when a default value is specified explicitly. Consider removing one of them. /// The route parameter '{0}' has both an inline default value and an explicit default value specified. A route parameter cannot contain an inline default value when a default value is specified explicitly. Consider removing one of them.
/// </summary> /// </summary>
internal static string TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly internal static string TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly
{ {
get { return GetString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"); } get => GetString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly");
} }
/// <summary> /// <summary>
/// The route parameter '{0}' has both an inline default value and an explicit default value specified. A route parameter cannot contain an inline default value when a default value is specified explicitly. Consider removing one of them. /// The route parameter '{0}' has both an inline default value and an explicit default value specified. A route parameter cannot contain an inline default value when a default value is specified explicitly. Consider removing one of them.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly(object p0) internal static string FormatTemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0);
}
/// <summary> /// <summary>
/// A path segment cannot contain two consecutive parameters. They must be separated by a '/' or by a literal string. /// A path segment cannot contain two consecutive parameters. They must be separated by a '/' or by a literal string.
/// </summary> /// </summary>
internal static string TemplateRoute_CannotHaveConsecutiveParameters internal static string TemplateRoute_CannotHaveConsecutiveParameters
{ {
get { return GetString("TemplateRoute_CannotHaveConsecutiveParameters"); } get => GetString("TemplateRoute_CannotHaveConsecutiveParameters");
} }
/// <summary> /// <summary>
/// A path segment cannot contain two consecutive parameters. They must be separated by a '/' or by a literal string. /// A path segment cannot contain two consecutive parameters. They must be separated by a '/' or by a literal string.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_CannotHaveConsecutiveParameters() internal static string FormatTemplateRoute_CannotHaveConsecutiveParameters()
{ => GetString("TemplateRoute_CannotHaveConsecutiveParameters");
return GetString("TemplateRoute_CannotHaveConsecutiveParameters");
}
/// <summary> /// <summary>
/// The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value. /// The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
/// </summary> /// </summary>
internal static string TemplateRoute_CannotHaveConsecutiveSeparators internal static string TemplateRoute_CannotHaveConsecutiveSeparators
{ {
get { return GetString("TemplateRoute_CannotHaveConsecutiveSeparators"); } get => GetString("TemplateRoute_CannotHaveConsecutiveSeparators");
} }
/// <summary> /// <summary>
/// The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value. /// The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_CannotHaveConsecutiveSeparators() internal static string FormatTemplateRoute_CannotHaveConsecutiveSeparators()
{ => GetString("TemplateRoute_CannotHaveConsecutiveSeparators");
return GetString("TemplateRoute_CannotHaveConsecutiveSeparators");
}
/// <summary> /// <summary>
/// A catch-all parameter cannot be marked optional. /// A catch-all parameter cannot be marked optional.
/// </summary> /// </summary>
internal static string TemplateRoute_CatchAllCannotBeOptional internal static string TemplateRoute_CatchAllCannotBeOptional
{ {
get { return GetString("TemplateRoute_CatchAllCannotBeOptional"); } get => GetString("TemplateRoute_CatchAllCannotBeOptional");
} }
/// <summary> /// <summary>
/// A catch-all parameter cannot be marked optional. /// A catch-all parameter cannot be marked optional.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_CatchAllCannotBeOptional() internal static string FormatTemplateRoute_CatchAllCannotBeOptional()
{ => GetString("TemplateRoute_CatchAllCannotBeOptional");
return GetString("TemplateRoute_CatchAllCannotBeOptional");
}
/// <summary> /// <summary>
/// An optional parameter cannot have default value. /// An optional parameter cannot have default value.
/// </summary> /// </summary>
internal static string TemplateRoute_OptionalCannotHaveDefaultValue internal static string TemplateRoute_OptionalCannotHaveDefaultValue
{ {
get { return GetString("TemplateRoute_OptionalCannotHaveDefaultValue"); } get => GetString("TemplateRoute_OptionalCannotHaveDefaultValue");
} }
/// <summary> /// <summary>
/// An optional parameter cannot have default value. /// An optional parameter cannot have default value.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_OptionalCannotHaveDefaultValue() internal static string FormatTemplateRoute_OptionalCannotHaveDefaultValue()
{ => GetString("TemplateRoute_OptionalCannotHaveDefaultValue");
return GetString("TemplateRoute_OptionalCannotHaveDefaultValue");
}
/// <summary> /// <summary>
/// A catch-all parameter can only appear as the last segment of the route template. /// A catch-all parameter can only appear as the last segment of the route template.
/// </summary> /// </summary>
internal static string TemplateRoute_CatchAllMustBeLast internal static string TemplateRoute_CatchAllMustBeLast
{ {
get { return GetString("TemplateRoute_CatchAllMustBeLast"); } get => GetString("TemplateRoute_CatchAllMustBeLast");
} }
/// <summary> /// <summary>
/// A catch-all parameter can only appear as the last segment of the route template. /// A catch-all parameter can only appear as the last segment of the route template.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_CatchAllMustBeLast() internal static string FormatTemplateRoute_CatchAllMustBeLast()
{ => GetString("TemplateRoute_CatchAllMustBeLast");
return GetString("TemplateRoute_CatchAllMustBeLast");
}
/// <summary> /// <summary>
/// The literal section '{0}' is invalid. Literal sections cannot contain the '?' character. /// The literal section '{0}' is invalid. Literal sections cannot contain the '?' character.
/// </summary> /// </summary>
internal static string TemplateRoute_InvalidLiteral internal static string TemplateRoute_InvalidLiteral
{ {
get { return GetString("TemplateRoute_InvalidLiteral"); } get => GetString("TemplateRoute_InvalidLiteral");
} }
/// <summary> /// <summary>
/// The literal section '{0}' is invalid. Literal sections cannot contain the '?' character. /// The literal section '{0}' is invalid. Literal sections cannot contain the '?' character.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_InvalidLiteral(object p0) internal static string FormatTemplateRoute_InvalidLiteral(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_InvalidLiteral"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_InvalidLiteral"), p0);
}
/// <summary> /// <summary>
/// The route parameter name '{0}' is invalid. Route parameter names must be non-empty and cannot contain these characters: '{{', '}}', '/'. The '?' character marks a parameter as optional, and can occur only at the end of the parameter. The '*' character marks a parameter as catch-all, and can occur only at the start of the parameter. /// The route parameter name '{0}' is invalid. Route parameter names must be non-empty and cannot contain these characters: '{{', '}}', '/'. The '?' character marks a parameter as optional, and can occur only at the end of the parameter. The '*' character marks a parameter as catch-all, and can occur only at the start of the parameter.
/// </summary> /// </summary>
internal static string TemplateRoute_InvalidParameterName internal static string TemplateRoute_InvalidParameterName
{ {
get { return GetString("TemplateRoute_InvalidParameterName"); } get => GetString("TemplateRoute_InvalidParameterName");
} }
/// <summary> /// <summary>
/// The route parameter name '{0}' is invalid. Route parameter names must be non-empty and cannot contain these characters: '{{', '}}', '/'. The '?' character marks a parameter as optional, and can occur only at the end of the parameter. The '*' character marks a parameter as catch-all, and can occur only at the start of the parameter. /// The route parameter name '{0}' is invalid. Route parameter names must be non-empty and cannot contain these characters: '{{', '}}', '/'. The '?' character marks a parameter as optional, and can occur only at the end of the parameter. The '*' character marks a parameter as catch-all, and can occur only at the start of the parameter.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_InvalidParameterName(object p0) internal static string FormatTemplateRoute_InvalidParameterName(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_InvalidParameterName"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_InvalidParameterName"), p0);
}
/// <summary> /// <summary>
/// The route template cannot start with a '/' or '~' character. /// The route template cannot start with a '/' or '~' character.
/// </summary> /// </summary>
internal static string TemplateRoute_InvalidRouteTemplate internal static string TemplateRoute_InvalidRouteTemplate
{ {
get { return GetString("TemplateRoute_InvalidRouteTemplate"); } get => GetString("TemplateRoute_InvalidRouteTemplate");
} }
/// <summary> /// <summary>
/// The route template cannot start with a '/' or '~' character. /// The route template cannot start with a '/' or '~' character.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_InvalidRouteTemplate() internal static string FormatTemplateRoute_InvalidRouteTemplate()
{ => GetString("TemplateRoute_InvalidRouteTemplate");
return GetString("TemplateRoute_InvalidRouteTemplate");
}
/// <summary> /// <summary>
/// There is an incomplete parameter in the route template. Check that each '{' character has a matching '}' character. /// There is an incomplete parameter in the route template. Check that each '{' character has a matching '}' character.
/// </summary> /// </summary>
internal static string TemplateRoute_MismatchedParameter internal static string TemplateRoute_MismatchedParameter
{ {
get { return GetString("TemplateRoute_MismatchedParameter"); } get => GetString("TemplateRoute_MismatchedParameter");
} }
/// <summary> /// <summary>
/// There is an incomplete parameter in the route template. Check that each '{' character has a matching '}' character. /// There is an incomplete parameter in the route template. Check that each '{' character has a matching '}' character.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_MismatchedParameter() internal static string FormatTemplateRoute_MismatchedParameter()
{ => GetString("TemplateRoute_MismatchedParameter");
return GetString("TemplateRoute_MismatchedParameter");
}
/// <summary> /// <summary>
/// The route parameter name '{0}' appears more than one time in the route template. /// The route parameter name '{0}' appears more than one time in the route template.
/// </summary> /// </summary>
internal static string TemplateRoute_RepeatedParameter internal static string TemplateRoute_RepeatedParameter
{ {
get { return GetString("TemplateRoute_RepeatedParameter"); } get => GetString("TemplateRoute_RepeatedParameter");
} }
/// <summary> /// <summary>
/// The route parameter name '{0}' appears more than one time in the route template. /// The route parameter name '{0}' appears more than one time in the route template.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_RepeatedParameter(object p0) internal static string FormatTemplateRoute_RepeatedParameter(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_RepeatedParameter"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_RepeatedParameter"), p0);
}
/// <summary> /// <summary>
/// The constraint entry '{0}' - '{1}' on the route '{2}' must have a string value or be of a type which implements '{3}'. /// The constraint entry '{0}' - '{1}' on the route '{2}' must have a string value or be of a type which implements '{3}'.
/// </summary> /// </summary>
internal static string RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint internal static string RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint
{ {
get { return GetString("RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint"); } get => GetString("RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint");
} }
/// <summary> /// <summary>
/// The constraint entry '{0}' - '{1}' on the route '{2}' must have a string value or be of a type which implements '{3}'. /// The constraint entry '{0}' - '{1}' on the route '{2}' must have a string value or be of a type which implements '{3}'.
/// </summary> /// </summary>
internal static string FormatRouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint(object p0, object p1, object p2, object p3) internal static string FormatRouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint(object p0, object p1, object p2, object p3)
{ => string.Format(CultureInfo.CurrentCulture, GetString("RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint"), p0, p1, p2, p3);
return string.Format(CultureInfo.CurrentCulture, GetString("RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint"), p0, p1, p2, p3);
}
/// <summary> /// <summary>
/// The constraint entry '{0}' - '{1}' on the route '{2}' could not be resolved by the constraint resolver of type '{3}'. /// The constraint entry '{0}' - '{1}' on the route '{2}' could not be resolved by the constraint resolver of type '{3}'.
/// </summary> /// </summary>
internal static string RouteConstraintBuilder_CouldNotResolveConstraint internal static string RouteConstraintBuilder_CouldNotResolveConstraint
{ {
get { return GetString("RouteConstraintBuilder_CouldNotResolveConstraint"); } get => GetString("RouteConstraintBuilder_CouldNotResolveConstraint");
} }
/// <summary> /// <summary>
/// The constraint entry '{0}' - '{1}' on the route '{2}' could not be resolved by the constraint resolver of type '{3}'. /// The constraint entry '{0}' - '{1}' on the route '{2}' could not be resolved by the constraint resolver of type '{3}'.
/// </summary> /// </summary>
internal static string FormatRouteConstraintBuilder_CouldNotResolveConstraint(object p0, object p1, object p2, object p3) internal static string FormatRouteConstraintBuilder_CouldNotResolveConstraint(object p0, object p1, object p2, object p3)
{ => string.Format(CultureInfo.CurrentCulture, GetString("RouteConstraintBuilder_CouldNotResolveConstraint"), p0, p1, p2, p3);
return string.Format(CultureInfo.CurrentCulture, GetString("RouteConstraintBuilder_CouldNotResolveConstraint"), p0, p1, p2, p3);
}
/// <summary> /// <summary>
/// In a route parameter, '{' and '}' must be escaped with '{{' and '}}'. /// In a route parameter, '{' and '}' must be escaped with '{{' and '}}'.
/// </summary> /// </summary>
internal static string TemplateRoute_UnescapedBrace internal static string TemplateRoute_UnescapedBrace
{ {
get { return GetString("TemplateRoute_UnescapedBrace"); } get => GetString("TemplateRoute_UnescapedBrace");
} }
/// <summary> /// <summary>
/// In a route parameter, '{' and '}' must be escaped with '{{' and '}}'. /// In a route parameter, '{' and '}' must be escaped with '{{' and '}}'.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_UnescapedBrace() internal static string FormatTemplateRoute_UnescapedBrace()
{ => GetString("TemplateRoute_UnescapedBrace");
return GetString("TemplateRoute_UnescapedBrace");
}
/// <summary> /// <summary>
/// In the segment '{0}', the optional parameter '{1}' is preceded by an invalid segment '{2}'. Only a period (.) can precede an optional parameter. /// In the segment '{0}', the optional parameter '{1}' is preceded by an invalid segment '{2}'. Only a period (.) can precede an optional parameter.
/// </summary> /// </summary>
internal static string TemplateRoute_OptionalParameterCanbBePrecededByPeriod internal static string TemplateRoute_OptionalParameterCanbBePrecededByPeriod
{ {
get { return GetString("TemplateRoute_OptionalParameterCanbBePrecededByPeriod"); } get => GetString("TemplateRoute_OptionalParameterCanbBePrecededByPeriod");
} }
/// <summary> /// <summary>
/// In the segment '{0}', the optional parameter '{1}' is preceded by an invalid segment '{2}'. Only a period (.) can precede an optional parameter. /// In the segment '{0}', the optional parameter '{1}' is preceded by an invalid segment '{2}'. Only a period (.) can precede an optional parameter.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_OptionalParameterCanbBePrecededByPeriod(object p0, object p1, object p2) internal static string FormatTemplateRoute_OptionalParameterCanbBePrecededByPeriod(object p0, object p1, object p2)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_OptionalParameterCanbBePrecededByPeriod"), p0, p1, p2);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_OptionalParameterCanbBePrecededByPeriod"), p0, p1, p2);
}
/// <summary> /// <summary>
/// An optional parameter must be at the end of the segment. In the segment '{0}', optional parameter '{1}' is followed by '{2}'. /// An optional parameter must be at the end of the segment. In the segment '{0}', optional parameter '{1}' is followed by '{2}'.
/// </summary> /// </summary>
internal static string TemplateRoute_OptionalParameterHasTobeTheLast internal static string TemplateRoute_OptionalParameterHasTobeTheLast
{ {
get { return GetString("TemplateRoute_OptionalParameterHasTobeTheLast"); } get => GetString("TemplateRoute_OptionalParameterHasTobeTheLast");
} }
/// <summary> /// <summary>
/// An optional parameter must be at the end of the segment. In the segment '{0}', optional parameter '{1}' is followed by '{2}'. /// An optional parameter must be at the end of the segment. In the segment '{0}', optional parameter '{1}' is followed by '{2}'.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_OptionalParameterHasTobeTheLast(object p0, object p1, object p2) internal static string FormatTemplateRoute_OptionalParameterHasTobeTheLast(object p0, object p1, object p2)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_OptionalParameterHasTobeTheLast"), p0, p1, p2);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_OptionalParameterHasTobeTheLast"), p0, p1, p2);
}
/// <summary> /// <summary>
/// Two or more routes named '{0}' have different templates. /// Two or more routes named '{0}' have different templates.
/// </summary> /// </summary>
internal static string AttributeRoute_DifferentLinkGenerationEntries_SameName internal static string AttributeRoute_DifferentLinkGenerationEntries_SameName
{ {
get { return GetString("AttributeRoute_DifferentLinkGenerationEntries_SameName"); } get => GetString("AttributeRoute_DifferentLinkGenerationEntries_SameName");
} }
/// <summary> /// <summary>
/// Two or more routes named '{0}' have different templates. /// Two or more routes named '{0}' have different templates.
/// </summary> /// </summary>
internal static string FormatAttributeRoute_DifferentLinkGenerationEntries_SameName(object p0) internal static string FormatAttributeRoute_DifferentLinkGenerationEntries_SameName(object p0)
{ => string.Format(CultureInfo.CurrentCulture, GetString("AttributeRoute_DifferentLinkGenerationEntries_SameName"), p0);
return string.Format(CultureInfo.CurrentCulture, GetString("AttributeRoute_DifferentLinkGenerationEntries_SameName"), p0);
}
/// <summary> /// <summary>
/// Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code. /// Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code.
/// </summary> /// </summary>
internal static string UnableToFindServices internal static string UnableToFindServices
{ {
get { return GetString("UnableToFindServices"); } get => GetString("UnableToFindServices");
} }
/// <summary> /// <summary>
/// Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code. /// Unable to find the required services. Please add all the required services by calling '{0}.{1}' inside the call to '{2}' in the application startup code.
/// </summary> /// </summary>
internal static string FormatUnableToFindServices(object p0, object p1, object p2) internal static string FormatUnableToFindServices(object p0, object p1, object p2)
{ => string.Format(CultureInfo.CurrentCulture, GetString("UnableToFindServices"), p0, p1, p2);
return string.Format(CultureInfo.CurrentCulture, GetString("UnableToFindServices"), p0, p1, p2);
}
/// <summary> /// <summary>
/// An error occurred while creating the route with name '{0}' and template '{1}'. /// An error occurred while creating the route with name '{0}' and template '{1}'.
/// </summary> /// </summary>
internal static string TemplateRoute_Exception internal static string TemplateRoute_Exception
{ {
get { return GetString("TemplateRoute_Exception"); } get => GetString("TemplateRoute_Exception");
} }
/// <summary> /// <summary>
/// An error occurred while creating the route with name '{0}' and template '{1}'. /// An error occurred while creating the route with name '{0}' and template '{1}'.
/// </summary> /// </summary>
internal static string FormatTemplateRoute_Exception(object p0, object p1) internal static string FormatTemplateRoute_Exception(object p0, object p1)
{ => string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_Exception"), p0, p1);
return string.Format(CultureInfo.CurrentCulture, GetString("TemplateRoute_Exception"), p0, p1);
}
private static string GetString(string name, params string[] formatterNames) private static string GetString(string name, params string[] formatterNames)
{ {