API
CreateScope
Creates a disposable scope with its own scoped service instances.
Formal Syntax & Structure
csharp syntaxcsharp
root.CreateScope()Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.root.CreateScope()