void exec(IContainerRegistrar registrar, object @object)
 {
     registrar.RegisterObject(@object);
 }
 void exec <T>(IContainerRegistrar container, T instance)
 {
     container.RegisterObject <T>(instance);
 }