Exemple #1
0
 private static void LoadCompression(IDIContainer container)
 {
     BallyTech.Infrastructure.Compression.Compression compression = new BallyTech.Infrastructure.Compression.Compression();
     container.RegistryInstance <ICompression>(compression, TypeInstancingMode.Singleton);
 }
Exemple #2
0
 private static void LoadCompression(IDIContainer container)
 {
     BallyTech.Infrastructure.Compression.Compression compression = new BallyTech.Infrastructure.Compression.Compression();
     container.RegistryInstance<ICompression>(compression, TypeInstancingMode.Singleton);
 }