CreationCountFakeService Class

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

Syntax

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

Constructors

CreationCountFakeService(Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFakeService)
public CreationCountFakeService(IFakeService dependency)

Properties

Microsoft.Extensions.DependencyInjection.Specification.Fakes.CreationCountFakeService.InstanceCount
Return type:System.Int32
public static int InstanceCount { get; set; }
Microsoft.Extensions.DependencyInjection.Specification.Fakes.CreationCountFakeService.InstanceId
Return type:System.Int32
public int InstanceId { get; }

Fields

InstanceLock()
Return type:System.Object
public static readonly object InstanceLock