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