London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class CommerceContextImpl

The default implementation for ICommerceContext

Inheritance
System.Object
CommerceContextImpl
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.CommerceContext
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("This class is no longer used. Will remain at least until August 2020.")]
public class CommerceContextImpl : ICommerceContext

Constructors

CommerceContextImpl(IConnectionStringHandler)

Initializes a new instance of the CommerceContextImpl class.

Declaration
public CommerceContextImpl(IConnectionStringHandler connectionHandler)
Parameters
Type Name Description
IConnectionStringHandler connectionHandler

The connection handler.

Methods

GetCatalogConnectionString()

Declaration
public string GetCatalogConnectionString()
Returns
Type Description
System.String

GetCustomerGroup()

Declaration
public string GetCustomerGroup()
Returns
Type Description
System.String

GetDefaultCurrency()

Declaration
public Currency GetDefaultCurrency()
Returns
Type Description
Currency

GetUserName()

Declaration
public string GetUserName()
Returns
Type Description
System.String

Implements