C# Class Pizza.Framework.Persistence.AutofacRegisterExtensions

Afficher le fichier Open project: dwdkls/pizzamvc

Méthodes publiques

Méthode Description
RegisterApplicationServices ( this builder, Assembly servicesAssembly ) : ContainerBuilder
RegisterPersistence ( this builder, string connectionString, Assembly persistenceModelsAssembly ) : ContainerBuilder
RegisterPersistence ( this builder, string connectionString, ITypeSource persistenceModelsTypeSource ) : ContainerBuilder

Private Methods

Méthode Description
InternalRegisterPersistence ( ContainerBuilder builder, string connectionString, AutoPersistenceModel autoPersistenceModel ) : void
RegisterConfiguration ( IComponentContext cx, string connectionString, AutoPersistenceModel autoPersistenceModel ) : NHibernate.Cfg.Configuration

Method Details

RegisterApplicationServices() public static méthode

public static RegisterApplicationServices ( this builder, Assembly servicesAssembly ) : ContainerBuilder
builder this
servicesAssembly System.Reflection.Assembly
Résultat Autofac.ContainerBuilder

RegisterPersistence() public static méthode

public static RegisterPersistence ( this builder, string connectionString, Assembly persistenceModelsAssembly ) : ContainerBuilder
builder this
connectionString string
persistenceModelsAssembly System.Reflection.Assembly
Résultat Autofac.ContainerBuilder

RegisterPersistence() public static méthode

public static RegisterPersistence ( this builder, string connectionString, ITypeSource persistenceModelsTypeSource ) : ContainerBuilder
builder this
connectionString string
persistenceModelsTypeSource ITypeSource
Résultat Autofac.ContainerBuilder