DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
IServiceScopeFactory.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
System/Object.h
"
4
#include "
System/SmartPointer.h
"
5
#include "
Extensions/DependencyInjection/IServiceScope.h
"
6
7
namespace
DotNetDupe
{
8
namespace
Extensions
{
9
namespace
DependencyInjection
{
14
class
IServiceScopeFactory
:
public
DotNetDupe::System::Object
{
15
public
:
17
virtual
~IServiceScopeFactory
() =
default
;
18
21
virtual
DotNetDupe::System::SmartPointer<IServiceScope>
CreateScope
() = 0;
22
};
23
}
24
}
25
}
26
IServiceScope.h
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::IServiceScopeFactory
Defines a factory interface used to create instances of IServiceScope.
Definition
IServiceScopeFactory.h:14
DotNetDupe::Extensions::DependencyInjection::IServiceScopeFactory::~IServiceScopeFactory
virtual ~IServiceScopeFactory()=default
Virtual destructor for polymorphic cleanup.
DotNetDupe::Extensions::DependencyInjection::IServiceScopeFactory::CreateScope
virtual DotNetDupe::System::SmartPointer< IServiceScope > CreateScope()=0
Creates an IServiceScope which controls the lifetime of scoped services.
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
IServiceScopeFactory.h
Generated by
1.18.0