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 | |
---|---|---|
Count | Gets the number of elements contained in the collection. | |
IsReadOnly | Gets the accessibility of the collection. | |
Item | Gets metadata objects by name. | |
Keys | Returns the keys of the collection. | |
Values | Gets the values of the collection. |
Top
Methods
Name | Description | |
---|---|---|
Contains | Indicates whether the collection contains the given item. | |
ContainsKey | Indicates whether the collection contains the given key. | |
CopyTo | Copies the elements of the collection to a given array, starting at a particular array index. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryGetValue | Tries to get the value given the key. |
Top
Extension Methods
Name | Description | |
---|---|---|
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.) | |
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.) | |
ToPointStream<KeyValuePair<String, T>, TPayload> | (Defined by CepStream.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection<KeyValuePair<String, T>>.Add | Adds a new object to a collection of metadata objects. | |
IDictionary<String, T>.Add | Adds a new object to a collection of metadata objects. | |
ICollection<KeyValuePair<String, T>>.Clear | Removes all keys and values from a collection of metadata objects. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. | |
IDictionary<String, T>.Item | Gets metadata objects by name. | |
ICollection<KeyValuePair<String, T>>.Remove | Removes the specified item from a collection of metadata objects. | |
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.