mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-06 02:56:32 +01:00
23 lines
635 B
C#
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; }
|
|
}
|
|
}
|