using System; namespace TINK.Model.State { public interface IStateInfoMutable { InUseStateEnum Value { get; } /// Updates state from web server. /// State of the bike. /// Date time when bike was reserved/ booked. /// Time span for which a bike can be reserved. /// Mail address of the one which reserved/ booked. /// Booking code if bike is booked or reserved. /// Controls whether notify property changed events are fired or not. void Load( InUseStateEnum state, DateTime? from = null, TimeSpan? reservationTimeSpan = null, string mailAddress = null, string code = null, Bikes.BikeInfoNS.BC.NotifyPropertyChangedLevel notifyLevel = Bikes.BikeInfoNS.BC.NotifyPropertyChangedLevel.All); } }