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