mirror of
https://github.com/Stone-Red-Code/DynamicInjector.git
synced 2026-09-04 00:56:04 +02:00
Add project files.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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++);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user