protected NhConfigurationBase(INhInterceptor nhInterceptor, INhProperties nhProperties, IMappingAssemblies mappingAssemblies, IHbmMapping hbmMapping, IRegisterEventListener[] registerEventListeners)
        {
            Contract.Requires(nhInterceptor != null);
            Contract.Requires(nhProperties != null);
            Contract.Requires(mappingAssemblies != null);
            Contract.Requires(hbmMapping != null);
            Contract.Requires(registerEventListeners != null);

            Contract.Ensures(NhInterceptor == nhInterceptor);
            Contract.Ensures(NhProperties == nhProperties);
            Contract.Ensures(MappingAssemblies == mappingAssemblies);
            Contract.Ensures(HbmMapping == hbmMapping);
            Contract.Ensures(RegisterEventListeners == registerEventListeners);

            m_NhInterceptor = nhInterceptor;
            m_NhProperties = nhProperties;
            m_MappingAssemblies = mappingAssemblies;
            m_HbmMapping = hbmMapping;
            m_RegisterEventListeners = registerEventListeners;
        }
Exemplo n.º 2
0
        protected NhConfigurationBase(INhInterceptor nhInterceptor, INhProperties nhProperties, IMappingAssemblies mappingAssemblies, IHbmMapping hbmMapping, IRegisterEventListener[] registerEventListeners)
        {
            Contract.Requires(nhInterceptor != null);
            Contract.Requires(nhProperties != null);
            Contract.Requires(mappingAssemblies != null);
            Contract.Requires(hbmMapping != null);
            Contract.Requires(registerEventListeners != null);

            Contract.Ensures(NhInterceptor == nhInterceptor);
            Contract.Ensures(NhProperties == nhProperties);
            Contract.Ensures(MappingAssemblies == mappingAssemblies);
            Contract.Ensures(HbmMapping == hbmMapping);
            Contract.Ensures(RegisterEventListeners == registerEventListeners);

            m_NhInterceptor          = nhInterceptor;
            m_NhProperties           = nhProperties;
            m_MappingAssemblies      = mappingAssemblies;
            m_HbmMapping             = hbmMapping;
            m_RegisterEventListeners = registerEventListeners;
        }
 protected NhFasterConfiguration(INhInterceptor nhInterceptor, INhProperties nhProperties, IMappingAssemblies mappingAssemblies, IHbmMapping hbmMapping, IRegisterEventListener[] registerEventListeners)
     : base(nhInterceptor, nhProperties, mappingAssemblies, hbmMapping, registerEventListeners)
 {
 }
 public NhConfiguration(INhInterceptor nhInterceptor, INhProperties nhProperties, IMappingAssemblies mappingAssemblies, IHbmMapping hbmMapping, IRegisterEventListener[] registerEventListeners)
     : base(nhInterceptor, nhProperties, mappingAssemblies, hbmMapping, registerEventListeners)
 {
 }