sharee.bike-App/TINKLib/ViewModel/Bikes/IBikesViewModel.cs
2023-08-31 12:31:38 +02:00

23 lines
629 B
C#

namespace TINK.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; }
}
}