22 lines
435 B
C#
22 lines
435 B
C#
using System;
|
|
|
|
namespace Playground
|
|
{
|
|
public class ServiceTwo : IServiceTwo
|
|
{
|
|
private readonly Guid _guid;
|
|
|
|
public ServiceTwo()
|
|
{
|
|
_guid = Guid.NewGuid();
|
|
Console.WriteLine(nameof(ServiceTwo) + ".ctor\t\tId: " + _guid);
|
|
}
|
|
|
|
public override string ToString() => nameof(ServiceTwo) + ".ToString()\tId: " + _guid;
|
|
|
|
}
|
|
|
|
public interface IServiceTwo
|
|
{
|
|
}
|
|
} |