sharee.bike-App/SharedBusinessLogic/ViewModel/IInUseStateInfoProvider.cs

26 lines
540 B
C#
Raw Permalink Normal View History

2023-06-06 12:00:24 +02:00
using System;
2021-05-13 20:03:07 +02:00
2024-04-09 12:53:23 +02:00
namespace ShareeBike.ViewModel
2021-05-13 20:03:07 +02:00
{
2022-09-06 16:08:19 +02:00
public interface IInUseStateInfoProvider
{
/// <summary>
/// Gets reserved info display text.
/// </summary>
/// <returns>Display text</returns>
string GetReservedInfo(
TimeSpan? p_oRemainingTime,
string p_strStation = null,
string p_strCode = null);
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Gets booked info display text.
/// </summary>
/// <returns>Display text</returns>
string GetBookedInfo(
DateTime? p_oFrom,
string p_strStation = null,
string p_strCode = null);
}
2021-05-13 20:03:07 +02:00
}