5 implementations of GetFormat
Microsoft.AspNetCore.Html.Abstractions (1)
HtmlFormattableString.cs (1)
158public object? GetFormat(Type? formatType)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Strings.vb (1)
25Private Function GetFormat(ByVal service As Type) As Object Implements IFormatProvider.GetFormat
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
664public virtual object? GetFormat(Type? formatType)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
331public object? GetFormat(Type? formatType)
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (1)
783public object? GetFormat(Type? formatType)
12 references to GetFormat
Microsoft.AspNetCore.Html.Abstractions (1)
HtmlFormattableString.cs (1)
122var customFormatter = (ICustomFormatter?)_formatProvider.GetFormat(typeof(ICustomFormatter));
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Strings.vb (1)
25Private Function GetFormat(ByVal service As Type) As Object Implements IFormatProvider.GetFormat
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
326provider.GetFormat(typeof(DateTimeFormatInfo)) as DateTimeFormatInfo ??
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (1)
228provider.GetFormat(typeof(NumberFormatInfo)) as NumberFormatInfo ??
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
6341ICustomFormatter? formatter = (ICustomFormatter?)_provider.GetFormat(typeof(ICustomFormatter));
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultInterpolatedStringHandler.cs (3)
516Debug.Assert(provider is not CultureInfo || provider.GetFormat(typeof(ICustomFormatter)) is null, "Expected CultureInfo to not provide a custom formatter"); 519provider.GetFormat(typeof(ICustomFormatter)) != null; 536ICustomFormatter? formatter = (ICustomFormatter?)_provider.GetFormat(typeof(ICustomFormatter));
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
1529ICustomFormatter? cf = (ICustomFormatter?)provider?.GetFormat(typeof(ICustomFormatter)); 3138ICustomFormatter? formatter = (ICustomFormatter?)_provider.GetFormat(typeof(ICustomFormatter));
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (1)
656ICustomFormatter? formatter = (ICustomFormatter?)_provider.GetFormat(typeof(ICustomFormatter));
src\libraries\System.Private.CoreLib\src\System\Text\ValueStringBuilder.AppendFormat.cs (1)
24ICustomFormatter? cf = (ICustomFormatter?)provider?.GetFormat(typeof(ICustomFormatter));