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