コード例 #1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        protected ObjectFactoryBase(DynamicModule module)
        {
            m_Module     = module;
            m_BuiltTypes = new ConcurrentDictionary <TypeKey, TypeEntry>();
        }
コード例 #2
0
 public void FixtureSetUp()
 {
     _dyamicModule = new DynamicModule(
         "EmittedByMySqlSupportTests",
         allowSave: true,
         saveDirectory: TestContext.CurrentContext.TestDirectory);
 }
コード例 #3
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        public ConventionObjectFactory(DynamicModule module, TransientConventionFactoryCallback transientConventionsFactory)
            : base(module)
        {
            m_TransientConventionFactory   = transientConventionsFactory;
            m_ConventionSingletonInstances = null;
        }
コード例 #4
0
 public void FixtureSetUp()
 {
     _dyamicModule = new DynamicModule(
         "EmittedByEfDataRepositoryFactoryTests",
         allowSave: true,
         saveDirectory: TestContext.CurrentContext.TestDirectory);
 }
コード例 #5
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        public ConventionObjectFactory(DynamicModule module, params IObjectFactoryConvention[] conventionSingletonInstances)
            : base(module)
        {
            m_TransientConventionFactory   = null;
            m_ConventionSingletonInstances = conventionSingletonInstances;
        }