Files
xCommons/Models/XServiceDescriptor.cs
2026-05-09 22:20:59 +03:30

19 lines
437 B
C#

using System;
namespace xCommons.Models
{
public class XServiceDescriptor
{
public Type Service { get; set; }
public Type Implementation { get; set; }
}
public class XServiceDescriptor<TService, TImplmentation> : XServiceDescriptor
{
public XServiceDescriptor() : base()
{
Service = typeof(TService);
Implementation = typeof(TImplmentation);
}
}
}