using System; using ShareeBike.Model.Connector; using ShareeBike.Model.Device; using ShareeBike.Model.User; using ShareeBike.View; namespace ShareeBike.ViewModel.Bikes.Bike.CopriLock.RequestHandler { public abstract class Base : BC.RequestHandler.Base { /// /// Constructs the request handler base. /// /// Bike which is reserved or for which reservation is canceled. /// Provides info about the smart device (phone, tablet, ...) /// View model to be used for progress report and unlocking/ locking view. public Base( Model.Bikes.BikeInfoNS.CopriLock.IBikeInfoMutable selectedBike, string buttonText, bool isCopriButtonVisible, Func isConnectedDelegate, Func connectorFactory, Func viewUpdateManager, ISmartDevice smartDevice, IViewService viewService, IBikesViewModel bikesViewModel, IUser activeUser) : base(selectedBike, buttonText, isCopriButtonVisible, isConnectedDelegate, connectorFactory, viewUpdateManager, smartDevice, viewService, bikesViewModel, activeUser) { } public string LockitButtonText { get; protected set; } public bool IsLockitButtonVisible { get; protected set; } public string ErrorText => string.Empty; } }