1 interface inheriting from INameScope
System.Xaml (1)
System\Windows\Markup\INameScopeDictionary.cs (1)
8
public interface INameScopeDictionary :
INameScope
, IDictionary<string, object>
7 implementations of INameScope
PresentationFramework (4)
System\Windows\FrameworkTemplate.cs (1)
35
public abstract class FrameworkTemplate : DispatcherObject,
INameScope
, ISealable, IHaveResources, IQueryAmbient
System\Windows\ResourceDictionary.cs (1)
36
public class ResourceDictionary : IDictionary, ISupportInitialize, System.Windows.Markup.IUriContext, System.Windows.Markup.
INameScope
System\Windows\Style.cs (1)
19
public class Style : DispatcherObject,
INameScope
, IAddChild, ISealable, IHaveResources, IQueryAmbient
System\Windows\TemplateNameScope.cs (1)
32
internal class TemplateNameScope :
INameScope
System.Xaml.Tests (2)
System\Xaml\XamlObjectWriterSettingsTests.cs (1)
84
private class CustomNameScope :
INameScope
System\Xaml\XamlTypeTests.cs (1)
2760
private class CustomNameScope :
INameScope
WindowsBase.Tests (1)
System\Windows\NameScopeTests.cs (1)
1190
private class CustomNameScope :
INameScope
70 references to INameScope
PresentationFramework (37)
System\Windows\FrameworkElement.cs (3)
1739
internal static
INameScope
FindScope(DependencyObject d)
1746
internal static
INameScope
FindScope(DependencyObject d, out DependencyObject scopeOwner)
1750
INameScope
nameScope = NameScope.NameScopeFromObject(d);
System\Windows\FrameworkTemplate.cs (3)
347
object
INameScope
.FindName(string name)
1098
INameScope
nameScope)
1113
private static DependencyObject WireRootObjectToParent(object createdObject, DependencyObject rootObject, DependencyObject container, FrameworkElement feContainer,
INameScope
nameScope)
System\Windows\Generated\FrameworkContentElement.cs (3)
64
INameScope
nameScope = FrameworkElement.FindScope(this);
82
INameScope
nameScope = FrameworkElement.FindScope(this);
108
INameScope
nameScope = FrameworkElement.FindScope(this, out scopeOwner);
System\Windows\Generated\FrameworkElement.cs (3)
64
INameScope
nameScope = FrameworkElement.FindScope(this);
82
INameScope
nameScope = FrameworkElement.FindScope(this);
108
INameScope
nameScope = FrameworkElement.FindScope(this, out scopeOwner);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
371
case 278: t = () => typeof(
INameScope
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5698
typeof(System.Windows.Markup.
INameScope
),
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
100
InterfaceMapping map = UnderlyingType.GetInterfaceMap(typeof(System.Windows.Markup.
INameScope
));
System\Windows\Markup\BamlRecordReader.cs (7)
2933
INameScope
nameScopeTop = ParserContext.NameScopeStack.Pop() as
INameScope
;
2949
INameScope
nameScopePeek = ParserContext.NameScopeStack.Peek() as
INameScope
;
4313
INameScope
nameScope = NameScope.NameScopeFromObject(contextData);
4327
INameScope
nameScope = NameScope.NameScopeFromObject(stackData.ObjectData);
4446
if (!(element is
INameScope
)
System\Windows\Markup\KnownTypes.cs (1)
5825
case KnownElements.INameScope: t = typeof(System.Windows.Markup.
INameScope
); break;
System\Windows\Media\Animation\BeginStoryboard.cs (2)
178
INameScope
nameScope = null;
200
private void Begin( DependencyObject targetObject,
INameScope
nameScope, Int64 layer )
System\Windows\Media\Animation\ControllableStoryboardAction.cs (2)
63
INameScope
nameScope = null;
91
private Storyboard GetStoryboard( FrameworkElement fe, FrameworkContentElement fce,
INameScope
nameScope )
System\Windows\Media\Animation\Storyboard.cs (6)
240
INameScope
nameScope,
306
INameScope
nameScope,
373
INameScope
nameScope, /* Remains the same through all the recursive calls */
529
private static void ApplyMediaClock(
INameScope
nameScope, DependencyObject containingObject,
1197
INameScope
nameScope = null;
1208
internal void BeginCommon( DependencyObject containingObject,
INameScope
nameScope,
System\Windows\Style.cs (1)
90
object
INameScope
.FindName(string name)
System\Windows\TemplateNameScope.cs (3)
72
void
INameScope
.RegisterName(string name, object scopedElement)
196
void
INameScope
.UnregisterName(string name)
204
object
INameScope
.FindName(string name)
System.Xaml (20)
System\Xaml\Context\ObjectWriterContext.cs (7)
27
XamlObjectWriterSettings settings, XAML3.
INameScope
rootNameScope, XamlRuntime runtime)
77
XamlObjectWriterSettings settings, XAML3.
INameScope
rootNameScope, XamlRuntime runtime)
802
frame.NameScopeDictionary = frame.Instance as XAML3.INameScopeDictionary ?? new NameScopeDictionary(frame.Instance as XAML3.
INameScope
);
892
if (inst is XAML3.
INameScope
nameScope)
911
XAML3.
INameScope
nameScope = (XAML3.
INameScope
)_runtime.GetValue(inst, nameScopeProperty, false);
966
foreach (XAML3.
INameScope
nameScope in StackWalkOfNameScopes)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (6)
35
private XAML3.
INameScope
_rootNamescope;
94
XAML3.
INameScope
rootNameScope = settings?.ExternalNameScope;
999
public XAML3.
INameScope
RootNameScope
2170
XAML3.
INameScope
nameScope, XAML3.
INameScope
parentNameScope, bool isRoot)
2172
XAML3.
INameScope
underlyingNameScope = nameScope;
System\Xaml\InfosetObjects\XamlObjectWriterSettings.cs (1)
46
public
INameScope
ExternalNameScope { get; set; }
System\Xaml\NameScopeDictionary.cs (4)
23
private
INameScope
_underlyingNameScope;
30
public NameScopeDictionary(
INameScope
underlyingNameScope)
125
internal
INameScope
UnderlyingNameScope { get { return _underlyingNameScope; } }
132
private
INameScope
_underlyingNameScope;
System\Xaml\XamlLanguage.cs (1)
95
new Lazy<XamlType>(() => GetXamlType(typeof(
INameScope
)));
System\Xaml\XamlObjectReader.cs (1)
2026
if (value is
INameScope
)
System.Xaml.Tests (12)
System\Xaml\XamlTypeTests.cs (12)
2722
yield return new object?[] { new SubXamlType(typeof(
INameScope
), new XamlSchemaContext()), true };
2729
new CustomXamlType(typeof(
INameScope
), new XamlSchemaContext())
2831
new CustomXamlType(typeof(
INameScope
), new XamlSchemaContext())
4974
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
4980
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
4986
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
4992
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
4997
new XamlType(new ReflectionOnlyType(typeof(
INameScope
)), new XamlSchemaContext()),
4998
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
5003
new XamlType(new ReflectionOnlyType(typeof(
INameScope
)), new XamlSchemaContext()),
5010
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
5021
new XamlType(typeof(
INameScope
), new XamlSchemaContext()),
WindowsBase.Tests (1)
System\Windows\NameScopeTests.cs (1)
232
Assert.Equal(typeof(
INameScope
), property.PropertyType);