Пример #1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        protected override IHappilClassDefinition DefineNewClass(HappilModule module, HappilTypeKey key)
        {
            var classDefinition = Module.DeriveClassFrom <object>(MakeClassNameFrom(key.PrimaryInterface, prefix: "XTupleOf"));
            var builder         = new TupleClassBuilder(key, classDefinition);

            builder.BuildClass();

            return(classDefinition);
        }
Пример #2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        protected abstract IHappilClassDefinition DefineNewClass(HappilModule module, HappilTypeKey key);
Пример #3
0
 public XTupleFactory(HappilModule module)
     : base(module)
 {
 }
Пример #4
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        protected HappilFactoryBase(HappilModule module)
        {
            m_Module     = module;
            m_BuiltTypes = new ConcurrentDictionary <HappilTypeKey, TypeEntry>(concurrencyLevel: 2, capacity: 512);
        }