19 lines
437 B
C#
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);
|
|
}
|
|
}
|
|
} |