Ejemplo n.º 1
0
        protected virtual Boolean ConfigureInstances()
        {
            bool result = true;

            Dictionary <Guid, ModuleConfig> .Enumerator modInstEnum = moduleInstances.GetEnumerator();
            while (modInstEnum.MoveNext())
            {
                ModuleConfig module = modInstEnum.Current.Value;
                if (module != null)
                {
                    result = result && module.Initialize();
                }
                else
                {
                    result = false;
                    break;
                }
            }
            return(result);
        }