This commit is contained in:
2026-05-09 22:20:59 +03:30
parent 507dd2862d
commit ffb29c6fbb
2 changed files with 52 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
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);
}
}
}