using BuildingDirectory.Model; namespace BuildingDirectory; /// /// Represents a simple building information system /// public sealed class BuildingInformation { private readonly MyDictionary> _companiesPerFloor; /// /// Creates a new instance with the supplied building information /// /// public BuildingInformation(MyDictionary> companiesPerFloor) { _companiesPerFloor = companiesPerFloor; } /// /// Returns all floors in the building /// /// A list of available floors // TODO public List GetFloorSelection() => new(); /// /// Returns all companies residing on a specific floor. /// If floor is not available null is returned. /// /// The floor to check /// A list of names of companies residing on the provided floor // TODO public List? GetCompaniesOnFloor(Floor floor) => null; /// /// Returns the company identified by floor and company name. /// If the specified company is not found null is returned. /// /// Floor to look at /// Name of the requested company /// Company information if found; null otherwise // TODO public Company? GetCompany(Floor floor, string companyName) => null; }