Condividi tramite


ServiceAcceptingFactoryService(ScopedFactoryService, IFactoryService) Constructor

Definition

public:
 ServiceAcceptingFactoryService(Microsoft::Extensions::DependencyInjection::Specification::Fakes::ScopedFactoryService ^ scopedService, Microsoft::Extensions::DependencyInjection::Specification::Fakes::IFactoryService ^ transientService);
public ServiceAcceptingFactoryService (Microsoft.Extensions.DependencyInjection.Specification.Fakes.ScopedFactoryService scopedService, Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFactoryService transientService);
new Microsoft.Extensions.DependencyInjection.Specification.Fakes.ServiceAcceptingFactoryService : Microsoft.Extensions.DependencyInjection.Specification.Fakes.ScopedFactoryService * Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFactoryService -> Microsoft.Extensions.DependencyInjection.Specification.Fakes.ServiceAcceptingFactoryService
Public Sub New (scopedService As ScopedFactoryService, transientService As IFactoryService)

Parameters

scopedService
ScopedFactoryService
transientService
IFactoryService

Applies to