示例#1
0
 public static void BindPackages(this LightweightKernel kernel)
 {
     kernel.Bind <IAutomaticModulePackager, AutomaticModulePackager>();
     kernel.Bind <IDeduplicator, Deduplicator>();
     kernel.Bind <IPackageCache, PackageCache>();
     kernel.Bind <IPackageRetrieval, PackageRetrieval>();
     kernel.Bind <IPackageManager, PackageManager>();
     kernel.Bind <IPackageLookup, PackageLookup>();
     kernel.Bind <IPackageCacheConfiguration, PackageCacheConfiguration>();
     kernel.BindAndKeepInstance <IPackageRedirector, PackageRedirector>();
     kernel.Bind <IPackageLocator, PackageLocator>();
 }