/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Shared/runtime/SR.cs
22 строки
709 B
Kevin Pilch
Find and Replace Apache License -> MIT
23 июл 2021, 01:54
23 июл 2021, 01:54
9da42b9
Код
Авторство
О чём код?
// 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 System.Net.Http { internal static partial class SR { // The resource generator used in AspNetCore does not create this method. This file fills in that functional gap // so we don't have to modify the shared source. internal static string Format(string resourceFormat, params object[] args) { if (args != null) { return string.Format(CultureInfo.CurrentCulture, resourceFormat, args); } return resourceFormat; } } }