201 overrides of ConvertFrom
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4626public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Components.Tests (2)
BindConverterTest.cs (1)
400public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
EventCallbackFactoryBinderExtensionsTest.cs (1)
699public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
517public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2946public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
HeaderModelBinderIntegrationTest.cs (1)
503public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
SimpleTypeModelBinderIntegrationTest.cs (1)
839public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
76public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationTypeConverter.cs (1)
36public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
Microsoft.Maui (13)
Converters\CornerRadiusTypeConverter.cs (1)
16 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
Converters\EasingTypeConverter.cs (1)
19 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\FlexEnumsConverters.cs (7)
18 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 57 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 92 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 131 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 166 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 201 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 234 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\KeyboardTypeConverter.cs (1)
18 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
Converters\ThicknessTypeConverter.cs (1)
21 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Primitives\GridLength.cs (1)
98 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
Primitives\SizeRequest.cs (1)
59 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
Microsoft.Maui.Controls (41)
AcceleratorTypeConverter.cs (1)
25 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
BindablePropertyConverter.cs (1)
76 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Brush\BrushTypeConverter.cs (1)
40 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Button\Button.cs (1)
580 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ColumnDefinitionCollectionTypeConverter.cs (1)
20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
DecorableTextElement.cs (1)
23 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
DoubleCollectionConverter.cs (1)
20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
FileImageSourceConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
FlowDirectionConverter.cs (1)
16 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
FontAttributes.cs (1)
30 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
FontSizeConverter.cs (1)
65 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
FormattedString.cs (1)
100 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
GridLengthTypeConverter.cs (1)
18 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ImageSourceConverter.cs (1)
19 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Items\CarouselLayoutTypeConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Items\ItemsLayoutTypeConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Layout\BoundsTypeConverter.cs (1)
19 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
LayoutOptionsConverter.cs (1)
22 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
LegacyLayouts\ConstraintTypeConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ListStringTypeConverter.cs (1)
20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ReferenceTypeConverter.cs (1)
46 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ResourceDictionary.cs (1)
453 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
RowDefinitionCollectionTypeConverter.cs (1)
20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ShadowTypeConverter.cs (1)
47 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\MatrixTypeConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\PathFigureCollectionConverter.cs (1)
24 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\PathGeometryConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\PointCollectionConverter.cs (1)
20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\StrokeShapeTypeConverter.cs (1)
27 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\TransformTypeConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shell\ShellContent.cs (1)
436 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Shell\ShellItem.cs (1)
360 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Shell\ShellNavigationState.cs (1)
112 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Shell\ShellSection.cs (1)
1267 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
TextAlignment.cs (1)
16 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
TypeTypeConverter.cs (1)
29 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
UriTypeConverter.cs (1)
18 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
VisualElement\VisualElement.cs (1)
2439 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Visuals\VisualTypeConverter.cs (1)
152 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
WebView\WebViewSource.cs (1)
43 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
WebView\WebViewSourceTypeConverter.cs (1)
17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.Maui.Graphics (7)
Converters\ColorTypeConverter.cs (1)
11 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object fromValue)
Converters\PointFTypeConverter.cs (1)
26 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\PointTypeConverter.cs (1)
26 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\RectFTypeConverter.cs (1)
23 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\RectTypeConverter.cs (1)
24 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\SizeFTypeConverter.cs (1)
22 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Converters\SizeTypeConverter.cs (1)
22 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
PresentationCore (41)
MS\Internal\IListConverters.cs (1)
44public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\CultureInfoConverter.cs (1)
84public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\DurationConverter.cs (1)
45public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo cultureInfo, object value)
System\Windows\FontStretchConverter.cs (1)
54public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\FontStyleConverter.cs (1)
54public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\FontWeightConverter.cs (1)
54public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
69public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Input\Command\KeyGestureConverter.cs (1)
75public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\Command\MouseActionConverter.cs (1)
53public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\Command\MouseGestureConverter.cs (1)
50public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\CursorConverter.cs (1)
96public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Input\InputScopeConverter.cs (1)
99public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\InputScopeNameConverter.cs (1)
86public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Markup\XmlLanguageConverter.cs (1)
77public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media\Animation\KeySplineConverter.cs (1)
58public override object ConvertFrom(
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
63public override object ConvertFrom(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
64public override object ConvertFrom(
System\Windows\Media\ColorConverter.cs (1)
68public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value)
System\Windows\Media\FontFamilyConverter.cs (1)
65public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object o)
System\Windows\Media\Generated\BrushConverter.cs (1)
94public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\CacheModeConverter.cs (1)
94public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
81public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\GeometryConverter.cs (1)
94public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
81public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
94public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
81public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\TransformConverter.cs (1)
94public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
81public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\ImageSourceConverter.cs (1)
82public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\PixelFormatConverter.cs (1)
59public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object o)
System\Windows\Media\RequestCachePolicyConverter.cs (1)
61public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value)
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\TextDecorationCollectionConverter.cs (1)
58public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object input)
PresentationFramework (19)
System\Windows\Controls\DataGridLengthConverter.cs (1)
67public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
System\Windows\CornerRadiusConverter.cs (1)
88public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
System\Windows\DeferrableContentConverter.cs (1)
25public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\DialogResultConverter.cs (1)
57public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\EventSetterHandlerConverter.cs (1)
46public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\FigureLengthConverter.cs (1)
101public override object ConvertFrom(
System\Windows\FontSizeConverter.cs (1)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\GridLengthConverter.cs (1)
104public override object ConvertFrom(
System\Windows\Input\Command\CommandConverter.cs (1)
90public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object source )
System\Windows\LengthConverter.cs (1)
102public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\DependencyPropertyConverter.cs (1)
62public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Markup\RoutedEventConverter.cs (1)
43public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Markup\TemplateKeyConverter.cs (1)
45public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\PropertyPathConverter.cs (1)
91public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\SystemKeyConverter.cs (1)
84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\ThemeModeConverter.cs (1)
62public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\ThicknessConverter.cs (1)
88public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
99ConvertFrom(
Serialization\FontTypeConverter.cs (1)
97ConvertFrom(
Serialization\ImageSourceTypeConverter.cs (1)
102ConvertFrom(
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System.ComponentModel.TypeConverter (22)
System\ComponentModel\BaseNumberConverter.cs (1)
53public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\BooleanConverter.cs (1)
28public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\CharConverter.cs (1)
42public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\CultureInfoConverter.cs (1)
61public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\DateOnlyConverter.cs (1)
35public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\DateTimeConverter.cs (1)
39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\DateTimeOffsetConverter.cs (1)
39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\EnumConverter.cs (1)
80public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\GuidConverter.cs (1)
39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\NullableConverter.cs (1)
58public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\ReferenceConverter.cs (1)
46public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\StringConverter.cs (1)
26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\TimeOnlyConverter.cs (1)
35public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\TimeSpanConverter.cs (1)
40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\TypeListConverter.cs (1)
49public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\UriTypeConverter.cs (1)
40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\VersionConverter.cs (1)
40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\ColorConverter.cs (1)
38public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\PointConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\RectangleConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\SizeConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\SizeFConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Configuration.ConfigurationManager (9)
System\Configuration\CommaDelimitedStringAttributeCollectionConverter.cs (1)
18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\GenericEnumConverter.cs (1)
27public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\IdnElement.cs (1)
50public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Configuration\InfiniteIntConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\InfiniteTimeSpanConverter.cs (1)
22public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanMinutesConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanSecondsConverter.cs (1)
20public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TypeNameConverter.cs (1)
23public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\WhiteSpaceTrimStringConverter.cs (1)
18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System.Data.Common (1)
System\Data\ColumnTypeConverter.cs (1)
111public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Drawing.Common (6)
System\Drawing\FontConverter.cs (2)
149public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 420public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) =>
System\Drawing\IconConverter.cs (1)
23public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\ImageConverter.cs (1)
22public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\ImageFormatConverter.cs (1)
31public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\Printing\MarginsConverter.cs (1)
22public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (1)
77public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
54public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System.Windows.Forms (13)
System\Resources\ResxFileRef.Converter.cs (1)
93public override object? ConvertFrom(
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
22public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
63public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
50public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
46public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
53public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
50public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (1)
32public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Input\CursorConverter.cs (1)
51public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Input\KeysConverter.cs (1)
150public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
33public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
45public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
324public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
32public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Design\DataMemberFieldConverter.cs (1)
14public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
20public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Xaml (8)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
61public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Markup\NameReferenceConverter.cs (1)
24public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\EventConverter.cs (1)
27public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Xaml\Replacements\DateTimeConverter2.cs (1)
37public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
77public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Replacements\TypeListConverter.cs (1)
21public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Replacements\TypeTypeConverter.cs (1)
21public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
18public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System.Xaml.Tests (1)
System\Windows\Markup\ValueSerializerTests.cs (1)
473public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
130 references to ConvertFrom
Microsoft.AspNetCore.Components (1)
BindConverter.cs (1)
2062var converted = typeConverter.ConvertFrom(context: null, culture ?? CultureInfo.CurrentCulture, obj);
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
407return base.ConvertFrom(context, culture, value);
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
520: base.ConvertFrom(context, culture, value);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2953return base.ConvertFrom(context, culture, value);
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\SimpleTypeModelBinder.cs (1)
79model = _typeConverter.ConvertFrom(
ModelBinding\ModelBindingHelper.cs (1)
721? converter.ConvertFrom(null, culture, value)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
SimpleTypeModelBinderIntegrationTest.cs (1)
846return base.ConvertFrom(context, culture, value);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
83return base.ConvertFrom(context, culture, value);
PresentationCore (29)
System\Windows\DurationConverter.cs (1)
49return base.ConvertFrom(td, cultureInfo, value);
System\Windows\Ink\StrokeCollectionConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Input\Command\MouseGestureConverter.cs (2)
77object mouseAction = mouseActionConverter.ConvertFrom(context, culture, mouseActionToken); 88object modifierKeys = modifierKeysConverter.ConvertFrom(context, culture, modifiersToken);
System\Windows\Media\Animation\KeyTimeConverter.cs (3)
87typeof(double)).ConvertFrom( 108typeof(TimeSpan)).ConvertFrom( 117return base.ConvertFrom(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (2)
84double doubleValue = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(td, cultureInfo, stringDoubleValue); 93TimeSpan timeSpanValue = (TimeSpan)TypeDescriptor.GetConverter(typeof(TimeSpan)).ConvertFrom(td, cultureInfo, stringValue);
System\Windows\Media\FontFamilyConverter.cs (1)
107return base.ConvertFrom(context, cultureInfo, o);
System\Windows\Media\Generated\BrushConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\CacheModeConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
94return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\GeometryConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
94return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
94return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\TransformConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
94return base.ConvertFrom(context, culture, value);
System\Windows\Media\ImageSourceConverter.cs (1)
138return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
92return base.ConvertFrom(context, culture, value);
PresentationFramework (7)
MS\Internal\Data\DefaultValueConverter.cs (1)
306value = _typeConverter.ConvertFrom(ctx, culture, o);
System\Windows\Data\BindingExpressionBase.cs (1)
2189result = converter.ConvertFrom(null, CultureInfo.InvariantCulture, value);
System\Windows\DeferrableContentConverter.cs (1)
72return base.ConvertFrom(context, culture, value);
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
21return _converter.ConvertFrom(new TypeConverterContext(serviceProvider), System.Globalization.CultureInfo.InvariantCulture, _value);
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
172return converter.ConvertFrom(serviceProvider, culture, source);
System\Windows\SystemKeyConverter.cs (1)
86return base.ConvertFrom(context, culture, value);
System\Windows\TemplateContent.cs (1)
869value = converter.ConvertFrom(TemplateLoadData.ServiceProviderWrapper, CultureInfo.InvariantCulture, value);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
241: converter.ConvertFrom(null, CultureInfo.InvariantCulture, value);
System.ComponentModel.TypeConverter (27)
System\ComponentModel\BaseNumberConverter.cs (1)
84return base.ConvertFrom(context, culture, value);
System\ComponentModel\BooleanConverter.cs (1)
42return base.ConvertFrom(context, culture, value);
System\ComponentModel\CharConverter.cs (1)
64return base.ConvertFrom(context, culture, value);
System\ComponentModel\CultureInfoConverter.cs (1)
133return base.ConvertFrom(context, culture, value);
System\ComponentModel\DateOnlyConverter.cs (1)
70return base.ConvertFrom(context, culture, value);
System\ComponentModel\DateTimeConverter.cs (1)
74return base.ConvertFrom(context, culture, value);
System\ComponentModel\DateTimeOffsetConverter.cs (1)
74return base.ConvertFrom(context, culture, value);
System\ComponentModel\EnumConverter.cs (1)
117return base.ConvertFrom(context, culture, value);
System\ComponentModel\GuidConverter.cs (1)
46return base.ConvertFrom(context, culture, value);
System\ComponentModel\NullableConverter.cs (2)
70return UnderlyingTypeConverter.ConvertFrom(context, culture, value); 73return base.ConvertFrom(context, culture, value);
System\ComponentModel\ReferenceConverter.cs (1)
78return base.ConvertFrom(context, culture, value);
System\ComponentModel\StringConverter.cs (1)
36return base.ConvertFrom(context, culture, value);
System\ComponentModel\TimeOnlyConverter.cs (1)
70return base.ConvertFrom(context, culture, value);
System\ComponentModel\TimeSpanConverter.cs (1)
55return base.ConvertFrom(context, culture, value);
System\ComponentModel\TypeConverter.cs (5)
49public object? ConvertFrom(object value) => ConvertFrom(null, CultureInfo.CurrentCulture, value); 82public object? ConvertFromString(string text) => ConvertFrom(null, null, text); 89return ConvertFrom(context, CultureInfo.CurrentCulture, text); 97return ConvertFrom(context, culture, text); 317ConvertFrom(context, CultureInfo.InvariantCulture, value!);
System\ComponentModel\TypeListConverter.cs (1)
62return base.ConvertFrom(context, culture, value);
System\ComponentModel\VersionConverter.cs (1)
59return base.ConvertFrom(context, culture, value);
System\Drawing\ColorConverter.cs (1)
45return base.ConvertFrom(context, culture, value);
System\Drawing\PointConverter.cs (1)
53return base.ConvertFrom(context, culture, value);
System\Drawing\RectangleConverter.cs (1)
55return base.ConvertFrom(context, culture, value);
System\Drawing\SizeConverter.cs (1)
53return base.ConvertFrom(context, culture, value);
System\Drawing\SizeFConverter.cs (1)
53return base.ConvertFrom(context, culture, value);
System.Configuration.ConfigurationManager (1)
System\Configuration\IdnElement.cs (1)
65return base.ConvertFrom(context, culture, value);
System.Data.Common (1)
System\Data\ColumnTypeConverter.cs (1)
126return base.ConvertFrom(context, culture, value!);
System.Drawing.Common (6)
System\Drawing\FontConverter.cs (2)
153return base.ConvertFrom(context, culture, value); 421value is string strValue ? MatchFontName(strValue, context) : base.ConvertFrom(context, culture, value);
System\Drawing\IconConverter.cs (1)
25return value is byte[] bytes ? new Icon(new MemoryStream(bytes)) : base.ConvertFrom(context, culture, value);
System\Drawing\ImageConverter.cs (1)
37return base.ConvertFrom(context, culture, value);
System\Drawing\ImageFormatConverter.cs (1)
37return base.ConvertFrom(context, culture, value);
System\Drawing\Printing\MarginsConverter.cs (1)
26return base.ConvertFrom(context, culture, value);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
80return base.ConvertFrom(context, culture, value);
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
34return base.ConvertFrom(context, culture, value);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1182newValue = converter.ConvertFrom(null, CultureInfo.InvariantCulture, FromBase64WrappedString(value));
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
23=> value is string valueAsString ? _com2Enum.FromString(valueAsString) : base.ConvertFrom(context, culture, value);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
65? _innerConverter.ConvertFrom(context, culture, value) 66: base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
76return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
72return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
78return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
82return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (3)
50percent = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(context, culture, text)!; 55percent = (double)TypeDescriptor.GetConverterFromRegisteredType(typeof(double)).ConvertFrom(context, culture, text)!; 89return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Input\CursorConverter.cs (1)
73return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Input\KeysConverter.cs (1)
209return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Internal\Formatter.cs (5)
169return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value); 214return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value); 301return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value!); 336return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), state == CheckState.Checked); 359return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value!);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
61return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
60return base.ConvertFrom(context, culture, value);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (1)
64newValue = PropertyDescriptor.Converter.ConvertFrom(_typeDescriptorContext, CultureInfo.CurrentCulture, newValue);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
330_ => base.ConvertFrom(context, culture, value)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
33=> GetConverter(context).ConvertFrom(context, culture, value);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
30Assert.Equal(expected, s_converter.ConvertFrom(s_context, CultureInfo.CurrentCulture, actual));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
24return base.ConvertFrom(context, culture, value);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ListViewGroupConverterTests.cs (3)
84Assert.Same(group, converter.ConvertFrom(mockContext.Object, null, value)); 115Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(mockContext.Object, null, "value")); 116Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(mockContext.Object, null, "HEADER"));
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
126Assert.Equal(expected, converter.ConvertFrom(null, null, value));
System.Xaml (9)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
43return converter.ConvertFrom(context, TypeConverterHelper.InvariantEnglishUS, value);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
88return base.ConvertFrom(context, culture, value);
System\Xaml\EventConverter.cs (1)
39return base.ConvertFrom(context, culture, value);
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
84return base.ConvertFrom(context, culture, value);
System\Xaml\Replacements\TypeListConverter.cs (1)
35return base.ConvertFrom(context, culture, value);
System\Xaml\Replacements\TypeTypeConverter.cs (1)
32return base.ConvertFrom(context, culture, value);
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
664obj = typeConverter.ConvertFrom(serviceContext, TypeConverterHelper.InvariantEnglishUS, value); 670obj = typeConverter.ConvertFrom(serviceContext, TypeConverterHelper.InvariantEnglishUS, value);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
29return base.ConvertFrom(context, culture, value);
System.Xaml.Tests (10)
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (1)
43Assert.Equal(expected, converter.ConvertFrom(null, culture, value));
System\Xaml\Replacements\EventConverterTests.cs (4)
53EventHandler actual = Assert.IsType<EventHandler>(converter.ConvertFrom(context, null, "Method")); 89Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 124Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 143Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value!));
System\Xaml\Replacements\TypeListConverterTests.cs (2)
30Assert.Empty(Assert.IsType<Type[]>(converter.ConvertFrom(new CustomTypeDescriptorContext(), null, "value"))); 42Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value!));
System\Xaml\Replacements\TypeTypeConverterTests.cs (3)
47Assert.Equal(typeof(int), converter.ConvertFrom(context, null, "value")); 65Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 84Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value!));