mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-12 13:36:26 +01:00
29 lines
1.2 KiB
C#
29 lines
1.2 KiB
C#
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; }
|
|
}
|
|
}
|