ServiceAcceptingFactoryService Class

Namespace
Microsoft.Extensions.DependencyInjection.Specification.Fakes
Assemblies
  • Microsoft.Extensions.DependencyInjection.Specification.Tests

Syntax

public class ServiceAcceptingFactoryService
class Microsoft.Extensions.DependencyInjection.Specification.Fakes.ServiceAcceptingFactoryService

Constructors

ServiceAcceptingFactoryService(Microsoft.Extensions.DependencyInjection.Specification.Fakes.ScopedFactoryService, Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFactoryService)
public ServiceAcceptingFactoryService(ScopedFactoryService scopedService, IFactoryService transientService)

Properties

Microsoft.Extensions.DependencyInjection.Specification.Fakes.ServiceAcceptingFactoryService.ScopedService
Return type:Microsoft.Extensions.DependencyInjection.Specification.Fakes.ScopedFactoryService
public ScopedFactoryService ScopedService { get; }
Microsoft.Extensions.DependencyInjection.Specification.Fakes.ServiceAcceptingFactoryService.TransientService
Return type:Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFactoryService
public IFactoryService TransientService { get; }