1 interface inheriting from INameScope
System.Xaml (1)
System\Windows\Markup\INameScopeDictionary.cs (1)
9
public interface INameScopeDictionary :
INameScope
, IDictionary<string, object>
7 implementations of INameScope
PresentationFramework (4)
System\Windows\FrameworkTemplate.cs (1)
36
public abstract class FrameworkTemplate : DispatcherObject,
INameScope
, ISealable, IHaveResources, IQueryAmbient
System\Windows\ResourceDictionary.cs (1)
37
public class ResourceDictionary : IDictionary, ISupportInitialize, System.Windows.Markup.IUriContext, System.Windows.Markup.
INameScope
System\Windows\Style.cs (1)
20
public class Style : DispatcherObject,
INameScope
, IAddChild, ISealable, IHaveResources, IQueryAmbient
System\Windows\TemplateNameScope.cs (1)
33
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)
1740
internal static
INameScope
FindScope(DependencyObject d)
1747
internal static
INameScope
FindScope(DependencyObject d, out DependencyObject scopeOwner)
1751
INameScope
nameScope = NameScope.NameScopeFromObject(d);
System\Windows\FrameworkTemplate.cs (3)
348
object
INameScope
.FindName(string name)
1100
INameScope
nameScope)
1115
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)
372
case 278: t = () => typeof(
INameScope
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5699
typeof(System.Windows.Markup.
INameScope
),
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
101
InterfaceMapping map = UnderlyingType.GetInterfaceMap(typeof(System.Windows.Markup.
INameScope
));
System\Windows\Markup\BamlRecordReader.cs (7)
2934
INameScope
nameScopeTop = ParserContext.NameScopeStack.Pop() as
INameScope
;
2950
INameScope
nameScopePeek = ParserContext.NameScopeStack.Peek() as
INameScope
;
4314
INameScope
nameScope = NameScope.NameScopeFromObject(contextData);
4328
INameScope
nameScope = NameScope.NameScopeFromObject(stackData.ObjectData);
4447
if (!(element is
INameScope
)
System\Windows\Markup\KnownTypes.cs (1)
5826
case KnownElements.INameScope: t = typeof(System.Windows.Markup.
INameScope
); break;
System\Windows\Media\Animation\BeginStoryboard.cs (2)
179
INameScope
nameScope = null;
201
private void Begin( DependencyObject targetObject,
INameScope
nameScope, Int64 layer )
System\Windows\Media\Animation\ControllableStoryboardAction.cs (2)
64
INameScope
nameScope = null;
92
private Storyboard GetStoryboard( FrameworkElement fe, FrameworkContentElement fce,
INameScope
nameScope )
System\Windows\Media\Animation\Storyboard.cs (6)
241
INameScope
nameScope,
307
INameScope
nameScope,
374
INameScope
nameScope, /* Remains the same through all the recursive calls */
530
private static void ApplyMediaClock(
INameScope
nameScope, DependencyObject containingObject,
1198
INameScope
nameScope = null;
1209
internal void BeginCommon( DependencyObject containingObject,
INameScope
nameScope,
System\Windows\Style.cs (1)
91
object
INameScope
.FindName(string name)
System\Windows\TemplateNameScope.cs (3)
73
void
INameScope
.RegisterName(string name, object scopedElement)
197
void
INameScope
.UnregisterName(string name)
205
object
INameScope
.FindName(string name)
System.Xaml (20)
System\Xaml\Context\ObjectWriterContext.cs (7)
29
XamlObjectWriterSettings settings, XAML3.
INameScope
rootNameScope, XamlRuntime runtime)
79
XamlObjectWriterSettings settings, XAML3.
INameScope
rootNameScope, XamlRuntime runtime)
804
frame.NameScopeDictionary = frame.Instance as XAML3.INameScopeDictionary ?? new NameScopeDictionary(frame.Instance as XAML3.
INameScope
);
894
if (inst is XAML3.
INameScope
nameScope)
913
XAML3.
INameScope
nameScope = (XAML3.
INameScope
)_runtime.GetValue(inst, nameScopeProperty, false);
968
foreach (XAML3.
INameScope
nameScope in StackWalkOfNameScopes)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (6)
36
XAML3.
INameScope
_rootNamescope;
95
XAML3.
INameScope
rootNameScope = settings?.ExternalNameScope;
1000
public XAML3.
INameScope
RootNameScope
2171
XAML3.
INameScope
nameScope, XAML3.
INameScope
parentNameScope, bool isRoot)
2173
XAML3.
INameScope
underlyingNameScope = nameScope;
System\Xaml\InfosetObjects\XamlObjectWriterSettings.cs (1)
47
public
INameScope
ExternalNameScope { get; set; }
System\Xaml\NameScopeDictionary.cs (4)
24
private
INameScope
_underlyingNameScope;
31
public NameScopeDictionary(
INameScope
underlyingNameScope)
126
internal
INameScope
UnderlyingNameScope { get { return _underlyingNameScope; } }
133
INameScope
_underlyingNameScope;
System\Xaml\XamlLanguage.cs (1)
96
new Lazy<XamlType>(() => GetXamlType(typeof(
INameScope
)));
System\Xaml\XamlObjectReader.cs (1)
2027
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);