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