Interface INameScope
Defines a name scope.
public interface INameScope
Properties
- IsCompleted
Returns whether further registrations are allowed on the scope
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.