Exemplo n.º 1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        protected override ClassType DefineNewClass(TypeKey key)
        {
            var classDefinition = DeriveClassFrom <object>(key);
            var builder         = new TupleClassBuilder(key, classDefinition);

            builder.BuildClass();

            return(classDefinition);
        }
Exemplo n.º 2
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);
        }