//----------------------------------------------------------------------------------------------------------------------------------------------------- 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); }
//----------------------------------------------------------------------------------------------------------------------------------------------------- protected abstract IHappilClassDefinition DefineNewClass(HappilModule module, HappilTypeKey key);
public XTupleFactory(HappilModule module) : base(module) { }
//----------------------------------------------------------------------------------------------------------------------------------------------------- protected HappilFactoryBase(HappilModule module) { m_Module = module; m_BuiltTypes = new ConcurrentDictionary <HappilTypeKey, TypeEntry>(concurrencyLevel: 2, capacity: 512); }