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