Class DependencyInjection_Standard_Tests.MyTransientService1
Inheritance
object
DependencyInjection_Standard_Tests.MyTransientService1
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Core.Tests.dll
Syntax
public class DependencyInjection_Standard_Tests.MyTransientService1 : ITransientDependency
Constructors
MyTransientService1(MySingletonService, IServiceProvider)
Declaration
public MyTransientService1(DependencyInjection_Standard_Tests.MySingletonService singletonService, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyInjection_Standard_Tests.MySingletonService | singletonService | |
| System.IServiceProvider | serviceProvider |
Properties
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
| Type | Description |
|---|---|
| System.IServiceProvider |
SingletonService
Declaration
public DependencyInjection_Standard_Tests.MySingletonService SingletonService { get; }
Property Value
| Type | Description |
|---|---|
| DependencyInjection_Standard_Tests.MySingletonService |
TransientInstances
Declaration
public List<DependencyInjection_Standard_Tests.MyEmptyTransientService> TransientInstances { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><DependencyInjection_Standard_Tests.MyEmptyTransientService> |
Methods
DoIt()
Declaration
public void DoIt()