Class PromotionBaseUserControl

Inheritance
System.Object
PromotionBaseUserControl
Namespace: Mediachase.Web.Console.BaseClasses
Assembly: Mediachase.WebConsoleLib.dll
Version: 10.8.0
Syntax
public class PromotionBaseUserControl : MarketingBaseUserControl, IAdminTabControl, IDynamicParamControl, IAdminContextControl

Constructors

PromotionBaseUserControl()

Declaration
public PromotionBaseUserControl()

Properties

Config

Gets the config.

Declaration
protected PromotionConfig Config { get; }
Property Value
Type Description
PromotionConfig

The config.

PromotionDto

Gets the promotion dto.

Declaration
protected PromotionDto PromotionDto { get; }
Property Value
Type Description
PromotionDto

The promotion dto.

Methods

CreateExpressionRow(ref ExpressionDto)

Creates the expression row.

Declaration
public ExpressionDto.ExpressionRow CreateExpressionRow(ref ExpressionDto expressionDto)
Parameters
Type Name Description
ExpressionDto expressionDto

The expression dto.

Returns
Type Description
ExpressionDto.ExpressionRow

DeseralizeSettings(Type)

Deseralizes the settings.

Declaration
public object DeseralizeSettings(Type type)
Parameters
Type Name Description
System.Type type

The type.

Returns
Type Description
System.Object

DeseralizeSettingsBinary(Type)

Deseralizes the settings binary.

Declaration
public object DeseralizeSettingsBinary(Type type)
Parameters
Type Name Description
System.Type type

The type.

Returns
Type Description
System.Object

GetCatalogEntryName(Object)

Gets the name of the catalog entry.

Declaration
protected string GetCatalogEntryName(object catalogEntryCode)
Parameters
Type Name Description
System.Object catalogEntryCode

The catalog entry id.

Returns
Type Description
System.String

LoadContext(IDictionary)

Loads the context.

Declaration
public virtual void LoadContext(IDictionary context)
Parameters
Type Name Description
System.Collections.IDictionary context

The context.

Replace(String, Object)

Replaces the specified expression.

Declaration
public string Replace(string expression, object settings)
Parameters
Type Name Description
System.String expression

The expression.

System.Object settings

The settings.

Returns
Type Description
System.String

Replace(String, String, String)

Replaces the specified expression.

Declaration
public string Replace(string expression, string token, string value)
Parameters
Type Name Description
System.String expression

The expression.

System.String token

The token.

System.String value

The value.

Returns
Type Description
System.String

SaveChanges(IDictionary)

Saves the changes.

Declaration
public virtual void SaveChanges(IDictionary context)
Parameters
Type Name Description
System.Collections.IDictionary context

The context.

SerializeSettings(Object)

Serializes the settings.

Declaration
public byte[] SerializeSettings(object settings)
Parameters
Type Name Description
System.Object settings

The settings.

Returns
Type Description
System.Byte[]

SerializeSettingsBinary(Object)

Serializes the settings binary.

Declaration
public byte[] SerializeSettingsBinary(object settings)
Parameters
Type Name Description
System.Object settings

The settings.

Returns
Type Description
System.Byte[]

Implements