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