sharee.bike-App/SharedBusinessLogic/ViewModel/Bikes/IBikesViewModel.cs
2024-04-09 12:53:23 +02:00

23 lines
635 B
C#

namespace ShareeBike.ViewModel.Bikes
{
public interface IBikesViewModel
{
/// <summary> Holds info about active rental process. </summary>
IRentalProcessViewModel RentalProcess { get; }
/// <summary>
/// Starts the rental process.
/// </summary>
/// <param name="processViewModel">Rental process values to start with.</param>
void StartRentalProcess(IRentalProcessViewModel process);
/// <summary> Holds info about current action. </summary>
string ActionText { get; set; }
/// <summary>
/// True if any action can be performed (request and cancel request)
/// </summary>
bool IsIdle { get; set; }
}
}