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