mirror of
https://github.com/Stone-Red-Code/DynamicInjector.git
synced 2026-09-04 00:56:04 +02:00
18 lines
428 B
C#
18 lines
428 B
C#
namespace DynamicInjector_Test;
|
|
|
|
internal class SecondTestService
|
|
{
|
|
private readonly IFirstTestService firstTestService;
|
|
private int count = 0;
|
|
|
|
public SecondTestService(IFirstTestService firstTestService)
|
|
{
|
|
this.firstTestService = firstTestService;
|
|
}
|
|
|
|
public void Output()
|
|
{
|
|
firstTestService.Print();
|
|
Console.WriteLine(nameof(SecondTestService) + " | " + count++);
|
|
}
|
|
} |