/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Shared/WebEncoders/Properties/EncoderResources.cs
37 строк
1 KB
Pranav K
Use file scoped namespaces (#38076)
06 ноя 2021, 03:52
Не верифицирован
06 ноя 2021, 03:52
a450cb6
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; namespace Microsoft.Extensions.WebEncoders.Sources; // TODO using a resx file. project.json, unfortunately, fails to embed resx files when there are also compile items // in the contentFiles section. Revisit once we convert repos to MSBuild internal static class EncoderResources { /// <summary> /// Invalid {0}, {1} or {2} length. /// </summary> internal const string WebEncoders_InvalidCountOffsetOrLength = "Invalid {0}, {1} or {2} length."; /// <summary> /// Malformed input: {0} is an invalid input length. /// </summary> internal const string WebEncoders_MalformedInput = "Malformed input: {0} is an invalid input length."; /// <summary> /// Invalid {0}, {1} or {2} length. /// </summary> internal static string FormatWebEncoders_InvalidCountOffsetOrLength(object p0, object p1, object p2) { return string.Format(CultureInfo.CurrentCulture, WebEncoders_InvalidCountOffsetOrLength, p0, p1, p2); } /// <summary> /// Malformed input: {0} is an invalid input length. /// </summary> internal static string FormatWebEncoders_MalformedInput(object p0) { return string.Format(CultureInfo.CurrentCulture, WebEncoders_MalformedInput, p0); } }