CepObjectReadOnlyDictionary<T> Class

Implements a generic read-only collection for CEP metadata objects.

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.CepObjectReadOnlyDictionary<T>

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public sealed class CepObjectReadOnlyDictionary<T> : IDictionary<string, T>, 
    ICollection<KeyValuePair<string, T>>, IEnumerable<KeyValuePair<string, T>>, 
    IEnumerable
where T : CepObject

Type Parameters

  • T

The CepObjectReadOnlyDictionary<T> type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the collection.
Public property IsReadOnly Gets the accessibility of the collection.
Public property Item Gets metadata objects by name.
Public property Keys Returns the keys of the collection.
Public property Values Gets the values of the collection.

Top

Methods

  Name Description
Public method Contains Indicates whether the collection contains the given item.
Public method ContainsKey Indicates whether the collection contains the given key.
Public method CopyTo Copies the elements of the collection to a given array, starting at a particular array index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryGetValue Tries to get the value given the key.

Top

Extension Methods

  Name Description
Public Extension Method ToEdgeStream<KeyValuePair<String, T>, TPayload> Converts an enumerable input stream to a stream of edge events, and provides the temporal characteristics of the input. (Defined by CepStream.)
Public Extension Method ToIntervalStream<KeyValuePair<String, T>, TPayload> Converts an enumerable input stream to a stream of interval events, and provides the temporal characteristics of the input. (Defined by CepStream.)
Public Extension Method ToPointStream<KeyValuePair<String, T>, TPayload> (Defined by CepStream.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, T>>.Add Adds a new object to a collection of metadata objects.
Explicit interface implemetationPrivate method IDictionary<String, T>.Add Adds a new object to a collection of metadata objects.
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, T>>.Clear Removes all keys and values from a collection of metadata objects.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate property IDictionary<String, T>.Item Gets metadata objects by name.
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, T>>.Remove Removes the specified item from a collection of metadata objects.
Explicit interface implemetationPrivate method IDictionary<String, T>.Remove Removes the specified item from a collection of metadata objects.

Top

Remarks

This collection populates its underlying list on demand (such as on call to Count or GetEnumerator) from the collection source. Once the underlying list is populated, it is cached for the lifetime of this object. The indexer retrieves objects directly from the collection source or from the underlying list if it has been populated.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ComplexEventProcessing Namespace