Example #1
0
 void IComponentRegistration.Register(IComponentCollection registrations)
 {
     registrations.AddFor<IPublisher>().ImplementedBy<Publisher>();
     registrations.AddFor<INuGetServer>().ImplementedBy<NuGetServer>();
     registrations.AddFor<IPackageFactory>().ImplementedBy<PackageFactory>();
 }
Example #2
0
 void IComponentRegistration.Register(IComponentCollection registrations)
 {
     registrations.AddFor<ILog>().ImplementedBy<Log>();
 }
Example #3
0
 void IComponentRegistration.Register(IComponentCollection registrations)
 {
     registrations.AddFor<IFileSystem>().ImplementedBy<LocalFileSystem>();
 }