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

30 lines
960 B
C#
Raw Normal View History

2022-10-03 17:55:10 +02:00
namespace TINK.Model
2022-01-22 18:28:01 +01:00
{
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)
{
2022-10-03 17:55:10 +02:00
FeesResourcePath = !string.IsNullOrEmpty(feesResourcePath) ? feesResourcePath : "";
BikesResourcePath = !string.IsNullOrEmpty(bikesResourcePath) ? bikesResourcePath : "";
AgbResourcePath = !string.IsNullOrEmpty(agbResourcePath) ? agbResourcePath : "";
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
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
}