Base:
method
ProvideValue
System.Windows.Markup.MarkupExtension.ProvideValue(System.IServiceProvider)
1 override of ProvideValue
PresentationFramework (1)
MS\Internal\Markup\StaticExtension.cs (1)
37public override object ProvideValue(IServiceProvider serviceProvider)
14 references to ProvideValue
PresentationFramework (4)
MS\Internal\Markup\StaticExtension.cs (1)
102return base.ProvideValue(serviceProvider);
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
890providedValue = staticExtension.ProvideValue(null); 1671param = staticExtension.ProvideValue(null); // if MemberType is set we don't need ITypeResolver
System\Windows\Markup\BamlRecordReader.cs (1)
2371valueObject = se.ProvideValue(null);
System.Xaml.Tests (10)
System\Windows\Markup\StaticExtensionTests.cs (10)
46Assert.Equal(expected, extension.ProvideValue(null)); 64Assert.Equal(expected, extension.ProvideValue(provider)); 74Assert.Equal(ConsoleColor.Red, extension.ProvideValue(null)); 88Assert.Equal(ConsoleColor.Red, extension.ProvideValue(provider)); 95Assert.Throws<InvalidOperationException>(() => extension.ProvideValue(null)); 112Assert.Throws<ArgumentException>(() => extension.ProvideValue(provider)); 119Assert.Throws<ArgumentNullException>("serviceProvider", () => extension.ProvideValue(null)); 132Assert.Throws<ArgumentException>(() => extension.ProvideValue(provider)); 143Assert.Throws<ArgumentException>(() => extension.ProvideValue(null)); 165Assert.Throws<ArgumentException>(() => extension.ProvideValue(provider));