using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TimetableDesigner.Core; namespace TimetableDesigner.Export { public abstract class Exporter { #region FIELDS protected Project _project; protected HashSet _groups; protected HashSet _subgroups; protected HashSet _teachers; protected HashSet _classrooms; #endregion #region PROPERTIES public ICollection Groups => _groups; public ICollection Subgroups => _subgroups; public ICollection Teachers => _teachers; public ICollection Classrooms => _classrooms; #endregion #region CONSTRUCTORS protected Exporter(Project project) { _project = project; _groups = new HashSet(); _subgroups = new HashSet(); _teachers = new HashSet(); _classrooms = new HashSet(); } #endregion #region PUBLIC METHODS public abstract void Export(string path); #endregion } }