Skip to main content

INameScope Methods

Methods

Complete()Marks the name scope as completed, no further registrations will be allowed
Find(String)Finds a named element in the name scope, returns immediately, doesn't traverse the name scope stack
FindAsync(String)Finds a named element in the name scope, waits for the scope to be completely populated before returning null Returned task is configured to run any continuations synchronously.
Register(String, Object)Registers an element in the name scope.

Extension Methods

Find(T)(String)Finds a named element in an INameScope.
(Defined by NameScopeExtensions)
Get(T)(String)Gets a named element from an INameScope or throws if no element of the requested name was found.
(Defined by NameScopeExtensions)

See Also

Reference

INameScope Interface
Avalonia.Controls Namespace