ScopedServiceExtensions Class

Summary

Scoped service extensions
graph BT Type-->Base0["Object"] Type["ScopedServiceExtensions"] class Type type-node

Syntax

public static class ScopedServiceExtensions

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Methods

Name Value Summary
WithScoped<T>(IServiceProvider) IExecuteScoped<T>
Get a service that runs actions with a new scope every time
static
WithScoped<T>(IServiceScopeFactory) IExecuteScoped<T>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3, T4, T5, T6>(IServiceProvider) IExecuteScoped<T1, T2, T3, T4, T5, T6>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3, T4, T5, T6>(IServiceScopeFactory) IExecuteScoped<T1, T2, T3, T4, T5, T6>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3, T4, T5>(IServiceProvider) IExecuteScoped<T1, T2, T3, T4, T5>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3, T4, T5>(IServiceScopeFactory) IExecuteScoped<T1, T2, T3, T4, T5>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3, T4>(IServiceProvider) IExecuteScoped<T1, T2, T3, T4>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3, T4>(IServiceScopeFactory) IExecuteScoped<T1, T2, T3, T4>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3>(IServiceProvider) IExecuteScoped<T1, T2, T3>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2, T3>(IServiceScopeFactory) IExecuteScoped<T1, T2, T3>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2>(IServiceProvider) IExecuteScoped<T1, T2>
Get a service that runs actions with a new scope every time
static
WithScoped<T1, T2>(IServiceScopeFactory) IExecuteScoped<T1, T2>
Get a service that runs actions with a new scope every time
static