Class DependencyInjection_Standard_Tests.MySingletonService
Inheritance
object
DependencyInjection_Standard_Tests.MySingletonService
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.MySingletonService : ISingletonDependency
Constructors
MySingletonService(IServiceProvider)
Declaration
public MySingletonService(IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IServiceProvider | serviceProvider |
Properties
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
| Type | Description |
|---|---|
| System.IServiceProvider |
TransientInstances
Declaration
public List<DependencyInjection_Standard_Tests.MyEmptyTransientService> TransientInstances { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><DependencyInjection_Standard_Tests.MyEmptyTransientService> |
Methods
ResolveTransient()
Declaration
public void ResolveTransient()