using System.Collections.Generic; namespace TINK.Model.Bike { public interface IBikeDictionary : IReadOnlyCollection { /// /// Gets a bike by its id. /// /// /// T GetById(int p_iId); /// /// Deteermines whether a bike by given key exists. /// /// Key to check. /// True if bike exists. bool ContainsKey(int p_iId); } public interface IBikeDictionaryMutable : IBikeDictionary { /// /// Removes a bike by its id. /// /// Id of bike to be removed. void RemoveById(int p_iId); /// /// Adds a new element to dictinary. /// /// New element to add. void Add(T p_oNewElement); } }