last ...
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user