Class SettingFactory

Inheritance
System.Object
SettingFactory
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: EPiServer.Business.Commerce
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("Not in use any more. Will remain at least until November 2016.")]
public class SettingFactory

Constructors

SettingFactory()

Declaration
public SettingFactory()

Properties

Instance

Get Instance of SettingsFactory

Declaration
public static SettingFactory Instance { get; }
Property Value
Type Description
SettingFactory

Setting

Commerce Settings

Declaration
public virtual CommerceSettings Setting { get; }
Property Value
Type Description
CommerceSettings

Methods

Create()

Creates an initializes an instance of the SettingFactory class. For use with the service locator.

Declaration
public static SettingFactory Create()
Returns
Type Description
SettingFactory

OnChanged(EventArgs)

Raises the Changed event.

Declaration
protected virtual void OnChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

The System.EventArgs instance containing the event data.

Save()

Save setting to Data store

Declaration
public virtual void Save()

Events

Changed

Fired when the settings are changed.

Declaration
public static event EventHandler Changed
Event Type
Type Description
System.EventHandler