DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
IServiceScope.h
Go to the documentation of this file.
1#pragma once
2
3#include "System/Object.h"
7
8namespace DotNetDupe {
9 namespace Extensions {
10 namespace DependencyInjection {
25 }
26 }
27}
28
Defines a mechanism for retrieving a service object; that is, an object that provides custom support ...
Base object class for DotNetDupe mirroring .NET System.Object.
Provides reference-counted and weak pointer memory management primitives ensuring zero raw ownership.
Controls the lifetime of a scoped service.
virtual ~IServiceScope()=default
Virtual destructor for polymorphic cleanup.
virtual DotNetDupe::System::SmartPointer< DotNetDupe::System::IServiceProvider > GetServiceProvider() const =0
Gets the scoped IServiceProvider used to resolve dependencies from this scope.
Provides a mechanism for releasing unmanaged resources.
Definition IDisposable.h:13
Supports all classes in the DotNetDupe class hierarchy.
Definition Object.h:18
A unified smart pointer that supports both unique and shared ownership semantics.