Example #1
0
 void IDependencyContainer.RegisterSingleton <TImpl>() => StaticContainer.RegisterSingleton <TImpl>();
Example #2
0
 void IDependencyContainer.RegisterSingleton <TImpl>(Func <TImpl> factory) => StaticContainer.RegisterSingleton <TImpl>(factory);