Base:
method
ProvideValue
System.Windows.Markup.MarkupExtension.ProvideValue(System.IServiceProvider)
6 references to ProvideValue
System.Xaml.Tests (6)
System\Windows\Markup\TypeExtensionTests.cs (6)
57Assert.Equal(typeof(int), extension.ProvideValue(null)); 75Assert.Equal(typeof(int), extension.ProvideValue(provider)); 83Assert.Throws<InvalidOperationException>(() => extension.ProvideValue(null)); 90Assert.Throws<ArgumentNullException>("serviceProvider", () => extension.ProvideValue(null)); 103Assert.Throws<InvalidOperationException>(() => extension.ProvideValue(provider)); 121Assert.Throws<InvalidOperationException>(() => extension.ProvideValue(provider));