sharee.bike-App/SharedBusinessLogic/Model/ResourceUrls.cs

30 lines
986 B
C#
Raw Normal View History

2024-04-09 12:53:23 +02:00
namespace ShareeBike.Model
2022-01-22 18:28:01 +01:00
{
2022-09-06 16:08:19 +02:00
public class ResourceUrls : IResourceUrls
{
public ResourceUrls(
2023-11-21 15:26:57 +01:00
string tariffsResourcePath = null,
string manualResourcePath = null,
string gtcResourcePath = null,
2022-09-06 16:08:19 +02:00
string privacyResourcePath = null,
string impressResourcePath = null)
{
2023-11-21 15:26:57 +01:00
TariffsResourcePath = !string.IsNullOrEmpty(tariffsResourcePath) ? tariffsResourcePath : "";
ManualResourcePath = !string.IsNullOrEmpty(manualResourcePath) ? manualResourcePath : "";
GtcResourcePath = !string.IsNullOrEmpty(gtcResourcePath) ? gtcResourcePath : "";
2022-10-03 17:55:10 +02:00
PrivacyResourcePath = !string.IsNullOrEmpty(privacyResourcePath) ? privacyResourcePath : "";
ImpressResourcePath = !string.IsNullOrEmpty(impressResourcePath) ? impressResourcePath : "";
2022-09-06 16:08:19 +02:00
}
2022-01-22 18:28:01 +01:00
2023-11-21 15:26:57 +01:00
public string TariffsResourcePath { get; }
2022-01-22 18:28:01 +01:00
2023-11-21 15:26:57 +01:00
public string ManualResourcePath { get; }
2022-01-22 18:28:01 +01:00
2023-11-21 15:26:57 +01:00
public string GtcResourcePath { get; }
2022-01-22 18:28:01 +01:00
2022-09-06 16:08:19 +02:00
public string PrivacyResourcePath { get; }
2022-01-22 18:28:01 +01:00
2022-09-06 16:08:19 +02:00
public string ImpressResourcePath { get; }
}
2022-01-22 18:28:01 +01:00
}