InitializeExpressions Method

Initializes all object members that contain expression references.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Protected Friend Overrides Sub InitializeExpressions ( _
    data As DisplayableCampaignItemData, _
    localExpressions As Dictionary(Of String, Expression), _
    loadedFromDB As Boolean _
)
'Usage
Dim data As DisplayableCampaignItemData
Dim localExpressions As Dictionary(Of String, Expression)
Dim loadedFromDB As Boolean

Me.InitializeExpressions(data, localExpressions, _
    loadedFromDB)
protected internal override void InitializeExpressions(
    DisplayableCampaignItemData data,
    Dictionary<string, Expression> localExpressions,
    bool loadedFromDB
)
protected public:
virtual void InitializeExpressions(
    DisplayableCampaignItemData^ data, 
    Dictionary<String^, Expression^>^ localExpressions, 
    bool loadedFromDB
) override
protected internal override function InitializeExpressions(
    data : DisplayableCampaignItemData, 
    localExpressions : Dictionary<String, Expression>, 
    loadedFromDB : boolean
)

Parameters

  • data
    Type: DisplayableCampaignItemData
    Xml serializable representation of the object.

Remarks

This initialization method is needed to guarantee that local expression references point to the same Expression object where needed (i.e. Target and Condition point to the same local Expression).

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace