4 implementations of IXamlNameResolver
System.Xaml (2)
System\Xaml\Context\ObjectWriterContext.cs (1)
1046
private class StackWalkNameResolver :
IXamlNameResolver
System\Xaml\Context\ServiceProviderContext.cs (1)
25
IXamlNameResolver
,
System.Xaml.Tests (2)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
222
private class CustomXamlNameResolver :
IXamlNameResolver
System\Windows\Markup\ReferenceTests.cs (1)
113
private class CustomXamlNameResolver :
IXamlNameResolver
20 references to IXamlNameResolver
System.Xaml (15)
System\Windows\Markup\NameReferenceConverter.cs (3)
29
var
nameResolver = (
IXamlNameResolver
)context.GetService(typeof(
IXamlNameResolver
));
System\Windows\Markup\Reference.cs (3)
29
IXamlNameResolver
nameResolver = serviceProvider.GetService(typeof(
IXamlNameResolver
)) as
IXamlNameResolver
;
System\Xaml\Context\ServiceProviderContext.cs (9)
67
else if (serviceType == typeof(
IXamlNameResolver
))
265
bool
IXamlNameResolver
.IsFixupTokenAvailable
270
object
IXamlNameResolver
.Resolve(string name)
275
object
IXamlNameResolver
.Resolve(string name, out bool isFullyInitialized)
280
object
IXamlNameResolver
.GetFixupToken(IEnumerable<string> names)
282
return ((
IXamlNameResolver
)this).GetFixupToken(names, false);
285
object
IXamlNameResolver
.GetFixupToken(IEnumerable<string> names, bool canAssignDirectly)
366
IEnumerable<KeyValuePair<string, object>>
IXamlNameResolver
.GetAllNamesAndValuesInScope()
371
event EventHandler
IXamlNameResolver
.OnNameScopeInitializationComplete
System.Xaml.Tests (5)
System\Windows\Markup\NameReferenceConverterTests.cs (5)
36
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
57
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
83
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
98
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
116
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);