protected virtual Boolean FillProperties() { bool result = true; Dictionary <Guid, ModuleConfig> .Enumerator modInstEnum; modInstEnum = moduleInstances.GetEnumerator(); ModuleConfig module = null; while (modInstEnum.MoveNext()) { module = modInstEnum.Current.Value as ModuleConfig; result = result && module.SetFullProperties(); } return(result); }