November Happy Hour will be moved to Thursday December 5th.

Class FrameworkContext

Global context class for the framework. Provides access to sub systems and some common settings.

Inheritance
System.Object
FrameworkContext
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
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("This class is no longer used. Will remain at least until September 2019.")]
public class FrameworkContext

Constructors

FrameworkContext()

Declaration
public FrameworkContext()

Properties

CatalogSystem

Gets the catalog system.

Declaration
public ICatalogSystem CatalogSystem { get; }
Property Value
Type Description
ICatalogSystem

The catalog system.

Current

Gets the current framework context.

Declaration
public static FrameworkContext Current { get; }
Property Value
Type Description
FrameworkContext

The current.

CurrentDateTime

Gets or sets the current date time. This property is used to filter out time elements and allows future or past simulations.

Declaration
public DateTime CurrentDateTime { get; set; }
Property Value
Type Description
System.DateTime

The context date time.

OrderSystem

Gets the order system.

Declaration
public OrderContext OrderSystem { get; }
Property Value
Type Description
OrderContext

The order system.

ProductName

Gets the name of the product.

Declaration
public static string ProductName { get; }
Property Value
Type Description
System.String

The name of the product.

ProductVersion

Gets the product version.

Declaration
public static string ProductVersion { get; }
Property Value
Type Description
System.String

The product version.

ProductVersionDesc

Gets the product version description in form of Major.Minor (Build: Build).

Declaration
public static string ProductVersionDesc { get; }
Property Value
Type Description
System.String

The product version desc.

Version

Gets the version.

Declaration
public static Version Version { get; }
Property Value
Type Description
System.Version

The version.