Class UrlStore
- Namespace
- RetailForce.Fiscalisation.Model.Helper
- Assembly
- RetailForce.Fiscalisation.Model.dll
Class to hold test and production url's
public class UrlStore
- Inheritance
-
objectUrlStore
- Inherited Members
Constructors
UrlStore()
Constructor.
public UrlStore()
UrlStore(string, string)
Constructor.
public UrlStore(string productionUrl, string testUrl = null)
Parameters
productionUrlstringThe production url.
testUrlstringThe test url.
Properties
ProdUrl
The production url.
public string ProdUrl { get; set; }
Property Value
- string
TestUrl
The test url.
public string TestUrl { get; set; }
Property Value
- string
Methods
GetUrl(bool)
Returns the requested url (test or production).
public string GetUrl(bool testClient)
Parameters
testClientboolTrue if test url should be returned; otherwise false.
Returns
- string