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

30 lines
1.2 KiB
C#
Raw Normal View History

2022-01-22 18:28:01 +01:00
namespace TINK.Model
{
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";
}
public string FeesResourcePath { get; }
public string BikesResourcePath { get; }
public string AgbResourcePath { get; }
public string PrivacyResourcePath { get; }
public string ImpressResourcePath { get; }
}
}