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

30 lines
1 KiB
C#
Raw Normal View History

2022-01-22 18:28:01 +01:00
namespace TINK.Model
{
2022-09-06 16:08:19 +02:00
public class ResourceUrls : IResourceUrls
{
public ResourceUrls(
string feesResourcePath = null,
string bikesResourcePath = null,
string agbResourcePath = null,
string privacyResourcePath = null,
string impressResourcePath = null)
{
FeesResourcePath = !string.IsNullOrEmpty(feesResourcePath) ? feesResourcePath : "site/tariff_info_1.html";
BikesResourcePath = !string.IsNullOrEmpty(bikesResourcePath) ? bikesResourcePath : "site/bike_info.html";
AgbResourcePath = !string.IsNullOrEmpty(agbResourcePath) ? agbResourcePath : "site/agb.html";
PrivacyResourcePath = !string.IsNullOrEmpty(privacyResourcePath) ? privacyResourcePath : "site/privacy.html";
ImpressResourcePath = !string.IsNullOrEmpty(impressResourcePath) ? impressResourcePath : "site/impress.html";
}
2022-01-22 18:28:01 +01:00
2022-09-06 16:08:19 +02:00
public string FeesResourcePath { get; }
2022-01-22 18:28:01 +01:00
2022-09-06 16:08:19 +02:00
public string BikesResourcePath { get; }
2022-01-22 18:28:01 +01:00
2022-09-06 16:08:19 +02:00
public string AgbResourcePath { 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
}