This commit is contained in:
2023-05-07 17:39:24 +02:00
Unverified
parent 6e34ed1ee7
commit 7fc6fc6229
112 changed files with 5182 additions and 1182 deletions

View File

@@ -20,8 +20,8 @@ namespace TimetableDesigner.Core
#region PROPERTIES
public IEnumerable<TimetableDay> Days => _days;
public IEnumerable<TimetableSpan> Slots => _slots;
public ICollection<TimetableDay> Days => _days;
public ICollection<TimetableSpan> Slots => _slots;
#endregion
@@ -36,19 +36,5 @@ namespace TimetableDesigner.Core
}
#endregion
#region PUBLIC METHODS
public void AddDay(TimetableDay name) => _days.Add(name);
public bool RemoveDay(TimetableDay day) => _days.Remove(day);
public void AddSlot(TimetableSpan slot) => _slots.Add(slot);
public bool RemoveSlot(TimetableSpan slot) => _slots.Remove(slot);
#endregion
}
}