public void LoadNamespaces(Federation aFed) { int month = 1; foreach (string each in NamespaceNames) { CalendarStore store = new CalendarStore(aFed, each, Year, month++); aFed.RegisterNamespace(store); } }
public IList CreateNamespaces(Federation aFed) { int month = 1; ArrayList answer = new ArrayList(); foreach (string each in NamespaceNames) { CalendarStore store = new CalendarStore(aFed, each, Year, month); answer.Add(store.Namespace); aFed.RegisterNamespace(store); } return ArrayList.ReadOnly(answer); }