sharee.bike-App/TINKLib/Model/ResourceUrls.cs
2023-11-21 15:26:57 +01:00

29 lines
980 B
C#

namespace TINK.Model
{
public class ResourceUrls : IResourceUrls
{
public ResourceUrls(
string tariffsResourcePath = null,
string manualResourcePath = null,
string gtcResourcePath = null,
string privacyResourcePath = null,
string impressResourcePath = null)
{
TariffsResourcePath = !string.IsNullOrEmpty(tariffsResourcePath) ? tariffsResourcePath : "";
ManualResourcePath = !string.IsNullOrEmpty(manualResourcePath) ? manualResourcePath : "";
GtcResourcePath = !string.IsNullOrEmpty(gtcResourcePath) ? gtcResourcePath : "";
PrivacyResourcePath = !string.IsNullOrEmpty(privacyResourcePath) ? privacyResourcePath : "";
ImpressResourcePath = !string.IsNullOrEmpty(impressResourcePath) ? impressResourcePath : "";
}
public string TariffsResourcePath { get; }
public string ManualResourcePath { get; }
public string GtcResourcePath { get; }
public string PrivacyResourcePath { get; }
public string ImpressResourcePath { get; }
}
}