1 interface inheriting from INameScope
System.Xaml (1)
System\Windows\Markup\INameScopeDictionary.cs (1)
9public interface INameScopeDictionary : INameScope, IDictionary<string, object>
7 implementations of INameScope
PresentationFramework (4)
System\Windows\FrameworkTemplate.cs (1)
36public abstract class FrameworkTemplate : DispatcherObject, INameScope, ISealable, IHaveResources, IQueryAmbient
System\Windows\ResourceDictionary.cs (1)
37public class ResourceDictionary : IDictionary, ISupportInitialize, System.Windows.Markup.IUriContext, System.Windows.Markup.INameScope
System\Windows\Style.cs (1)
20public class Style : DispatcherObject, INameScope, IAddChild, ISealable, IHaveResources, IQueryAmbient
System\Windows\TemplateNameScope.cs (1)
33internal class TemplateNameScope : INameScope
System.Xaml.Tests (2)
System\Xaml\XamlObjectWriterSettingsTests.cs (1)
84private class CustomNameScope : INameScope
System\Xaml\XamlTypeTests.cs (1)
2760private class CustomNameScope : INameScope
WindowsBase.Tests (1)
System\Windows\NameScopeTests.cs (1)
1190private class CustomNameScope : INameScope
70 references to INameScope
PresentationFramework (37)
System\Windows\FrameworkElement.cs (3)
1740internal static INameScope FindScope(DependencyObject d) 1747internal static INameScope FindScope(DependencyObject d, out DependencyObject scopeOwner) 1751INameScope nameScope = NameScope.NameScopeFromObject(d);
System\Windows\FrameworkTemplate.cs (3)
348object INameScope.FindName(string name) 1100INameScope nameScope) 1115private static DependencyObject WireRootObjectToParent(object createdObject, DependencyObject rootObject, DependencyObject container, FrameworkElement feContainer, INameScope nameScope)
System\Windows\Generated\FrameworkContentElement.cs (3)
64INameScope nameScope = FrameworkElement.FindScope(this); 82INameScope nameScope = FrameworkElement.FindScope(this); 108INameScope nameScope = FrameworkElement.FindScope(this, out scopeOwner);
System\Windows\Generated\FrameworkElement.cs (3)
64INameScope nameScope = FrameworkElement.FindScope(this); 82INameScope nameScope = FrameworkElement.FindScope(this); 108INameScope nameScope = FrameworkElement.FindScope(this, out scopeOwner);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
372case 278: t = () => typeof(INameScope); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5699typeof(System.Windows.Markup.INameScope),
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
101InterfaceMapping map = UnderlyingType.GetInterfaceMap(typeof(System.Windows.Markup.INameScope));
System\Windows\Markup\BamlRecordReader.cs (7)
2934INameScope nameScopeTop = ParserContext.NameScopeStack.Pop() as INameScope; 2950INameScope nameScopePeek = ParserContext.NameScopeStack.Peek() as INameScope; 4314INameScope nameScope = NameScope.NameScopeFromObject(contextData); 4328INameScope nameScope = NameScope.NameScopeFromObject(stackData.ObjectData); 4447if (!(element is INameScope)
System\Windows\Markup\KnownTypes.cs (1)
5826case KnownElements.INameScope: t = typeof(System.Windows.Markup.INameScope); break;
System\Windows\Media\Animation\BeginStoryboard.cs (2)
179INameScope nameScope = null; 201private void Begin( DependencyObject targetObject, INameScope nameScope, Int64 layer )
System\Windows\Media\Animation\ControllableStoryboardAction.cs (2)
64INameScope nameScope = null; 92private Storyboard GetStoryboard( FrameworkElement fe, FrameworkContentElement fce, INameScope nameScope )
System\Windows\Media\Animation\Storyboard.cs (6)
241INameScope nameScope, 307INameScope nameScope, 374INameScope nameScope, /* Remains the same through all the recursive calls */ 530private static void ApplyMediaClock( INameScope nameScope, DependencyObject containingObject, 1198INameScope nameScope = null; 1209internal void BeginCommon( DependencyObject containingObject, INameScope nameScope,
System\Windows\Style.cs (1)
91object INameScope.FindName(string name)
System\Windows\TemplateNameScope.cs (3)
73void INameScope.RegisterName(string name, object scopedElement) 197void INameScope.UnregisterName(string name) 205object INameScope.FindName(string name)
System.Xaml (20)
System\Xaml\Context\ObjectWriterContext.cs (7)
29XamlObjectWriterSettings settings, XAML3.INameScope rootNameScope, XamlRuntime runtime) 79XamlObjectWriterSettings settings, XAML3.INameScope rootNameScope, XamlRuntime runtime) 804frame.NameScopeDictionary = frame.Instance as XAML3.INameScopeDictionary ?? new NameScopeDictionary(frame.Instance as XAML3.INameScope); 894if (inst is XAML3.INameScope nameScope) 913XAML3.INameScope nameScope = (XAML3.INameScope)_runtime.GetValue(inst, nameScopeProperty, false); 968foreach (XAML3.INameScope nameScope in StackWalkOfNameScopes)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (6)
36XAML3.INameScope _rootNamescope; 95XAML3.INameScope rootNameScope = settings?.ExternalNameScope; 1000public XAML3.INameScope RootNameScope 2171XAML3.INameScope nameScope, XAML3.INameScope parentNameScope, bool isRoot) 2173XAML3.INameScope underlyingNameScope = nameScope;
System\Xaml\InfosetObjects\XamlObjectWriterSettings.cs (1)
47public INameScope ExternalNameScope { get; set; }
System\Xaml\NameScopeDictionary.cs (4)
24private INameScope _underlyingNameScope; 31public NameScopeDictionary(INameScope underlyingNameScope) 126internal INameScope UnderlyingNameScope { get { return _underlyingNameScope; } } 133INameScope _underlyingNameScope;
System\Xaml\XamlLanguage.cs (1)
96new Lazy<XamlType>(() => GetXamlType(typeof(INameScope)));
System\Xaml\XamlObjectReader.cs (1)
2027if (value is INameScope)
System.Xaml.Tests (12)
System\Xaml\XamlTypeTests.cs (12)
2722yield return new object?[] { new SubXamlType(typeof(INameScope), new XamlSchemaContext()), true }; 2729new CustomXamlType(typeof(INameScope), new XamlSchemaContext()) 2831new CustomXamlType(typeof(INameScope), new XamlSchemaContext()) 4974new XamlType(typeof(INameScope), new XamlSchemaContext()), 4980new XamlType(typeof(INameScope), new XamlSchemaContext()), 4986new XamlType(typeof(INameScope), new XamlSchemaContext()), 4992new XamlType(typeof(INameScope), new XamlSchemaContext()), 4997new XamlType(new ReflectionOnlyType(typeof(INameScope)), new XamlSchemaContext()), 4998new XamlType(typeof(INameScope), new XamlSchemaContext()), 5003new XamlType(new ReflectionOnlyType(typeof(INameScope)), new XamlSchemaContext()), 5010new XamlType(typeof(INameScope), new XamlSchemaContext()), 5021new XamlType(typeof(INameScope), new XamlSchemaContext()),
WindowsBase.Tests (1)
System\Windows\NameScopeTests.cs (1)
232Assert.Equal(typeof(INameScope), property.PropertyType);