Class EventCollection

Implements operations for the event collection. (Inherits System.Configuration.ConfigurationElementCollection.)

Inheritance
System.Object
EventCollection
Namespace: Mediachase.Commerce.Engine.Events
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class EventCollection : ConfigurationElementCollection

Constructors

EventCollection()

Declaration
public EventCollection()

Properties

Item[Int32]

Gets or sets the EventDefinition at the specified index.

Declaration
public EventDefinition this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
EventDefinition

Methods

CreateNewElement()

When overridden in a derived class, creates a new System.Configuration.ConfigurationElement.

Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type Description
System.Configuration.ConfigurationElement

A new System.Configuration.ConfigurationElement.

GetElementKey(ConfigurationElement)

Gets the element key for a specified configuration element when overridden in a derived class.

Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type Name Description
System.Configuration.ConfigurationElement element

The System.Configuration.ConfigurationElement to return the key for.

Returns
Type Description
System.Object

An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement.