Пример #1
0
        public void EnsureTypes(RuntimicSystemModel semanticModel, BoundModule_I boundModule)
        {
            var types = boundModule.SourceModuleDefinition.Types;

            for (int i = 0; i < types.Count; i++)
            {
                var typeDefinition = types[i];

                Execution.Types.Ensuring.Ensure(semanticModel, typeDefinition, null, null);
            }
        }
Пример #2
0
        public void BuildOut(RuntimicSystemModel semanticModel, BoundModule_I boundModule)
        {
            // If all the types have already been ensured, then no need to do anything else.
            if (boundModule.IsBuiltOut)
            {
                return;
            }

            boundModule.IsBuiltOut = true;

            Types.Ensuring.EnsureTypes(semanticModel, boundModule);
        }