예제 #1
0
 public void Register <TInterface>(TInterface concreteClass) where TInterface : class
 {
     MicroMap.Register(concreteClass);
 }
예제 #2
0
 public void Register <TInterface>(Func <IContainer, TInterface> definition) where TInterface : class
 {
     MicroMap.Register(definition);
 }
예제 #3
0
 public void Register <TInterface, TClass>()
     where TClass : TInterface
     where TInterface : class
 {
     MicroMap.Register <TInterface, TClass>();
 }