Table of Contents

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

productionUrl string

The production url.

testUrl string

The 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

testClient bool

True if test url should be returned; otherwise false.

Returns

string