Base:
method
ConvertFrom
System.ComponentModel.TypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
4 references to ConvertFrom
PresentationCore (1)
System\Windows\DurationConverter.cs (1)
70
/// <remarks>This function is decoupled from the <see cref="
ConvertFrom
(ITypeDescriptorContext, CultureInfo, object)"/> for performance reasons.</remarks>
PresentationCore.Tests (3)
System\Windows\DurationConverter.Tests.cs (3)
97
Assert.Equal(expected, (Duration)converter.
ConvertFrom
(null, culture, value));
121
Assert.Throws<FormatException>(() => converter.
ConvertFrom
(null, culture, value));
145
Assert.Throws<NotSupportedException>(() => converter.
ConvertFrom
(null, culture, value));