Share via


ContentSelectionContext Class (BCL)

Represents an application context for the Content Selection Framework content selection. For example, advertising and discounts each have their own ContentSelectionContext object to specify components such as the pipeline and the cache that should be used by the ContentSelector object.

System.Object
**** Microsoft.CommerceServer.Runtime.Targeting.ContentSelectionContext

Public Instance Constructor

Constructor Description
ContentSelectionContext Constructor(String, ContentSelectionPipeline, ContentSelectionPipeline, String, String, ExpressionEvaluator, DebugContext) Creates a new instance of the ContentSelectionContext class.

 

Public Instance Methods

Method Description
GetEnumerator Gets an enumerator for enumerating the keys in the dictionary of key/value pairs that this selection context object represents.
GetSelector Gets a ContentSelector object that can be used to retrieve content using the current ContentSelectionContext object.

 

Public Instance Properties

Property Description
Item(String) Indexer used to get or set a value in the dictionary.

 

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Code to Display Targeted Advertisements on an ASP.NET Web Form

Copyright © 2005 Microsoft Corporation.
All rights reserved.