DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
IServiceScopeFactory.h
Go to the documentation of this file.
1#pragma once
2
3#include "System/Object.h"
6
7namespace DotNetDupe {
8 namespace Extensions {
9 namespace DependencyInjection {
23 }
24 }
25}
26
Base object class for DotNetDupe mirroring .NET System.Object.
Provides reference-counted and weak pointer memory management primitives ensuring zero raw ownership.
Defines a factory interface used to create instances of IServiceScope.
virtual ~IServiceScopeFactory()=default
Virtual destructor for polymorphic cleanup.
virtual DotNetDupe::System::SmartPointer< IServiceScope > CreateScope()=0
Creates an IServiceScope which controls the lifetime of scoped services.
Supports all classes in the DotNetDupe class hierarchy.
Definition Object.h:18
A unified smart pointer that supports both unique and shared ownership semantics.