Class UrlStore
- Namespace
- RetailForce.Fiscalisation.Model.Helper
- Assembly
- RetailForce.Fiscalisation.Model.dll
Class to hold test and production url's
public class UrlStore
- Inheritance
-
UrlStore
- Inherited Members
Constructors
UrlStore()
Constructor.
public UrlStore()
UrlStore(string, string)
Constructor.
public UrlStore(string productionUrl, string testUrl = null)
Parameters
Properties
ProdUrl
The production url.
public string ProdUrl { get; set; }
Property Value
TestUrl
The test url.
public string TestUrl { get; set; }
Property Value
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.