CepObjectReadOnlyDictionary<T> Class
Represents a generic read-only collection for CEP metadata objects.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Inheritance Hierarchy
System.Object
Microsoft.ComplexEventProcessing.CepObjectReadOnlyDictionary<T>
Syntax
public sealed class CepObjectReadOnlyDictionary<T> : IDictionary<string, T>,
ICollection<KeyValuePair<string, T>>, IEnumerable<KeyValuePair<string, T>>,
IEnumerable
where T : CepObject
generic<typename T>
where T : CepObject
public ref class CepObjectReadOnlyDictionary sealed : IDictionary<String^, T>,
ICollection<KeyValuePair<String^, T>>, IEnumerable<KeyValuePair<String^, T>>,
IEnumerable
[<Sealed>]
type CepObjectReadOnlyDictionary<'T when 'T : CepObject> =
class
interface IDictionary<string, 'T>
interface ICollection<KeyValuePair<string, 'T>>
interface IEnumerable<KeyValuePair<string, 'T>>
interface IEnumerable
end
Public NotInheritable Class CepObjectReadOnlyDictionary(Of T As CepObject)
Implements IDictionary(Of String, T), ICollection(Of KeyValuePair(Of String, T)),
IEnumerable(Of KeyValuePair(Of String, T)), IEnumerable
Type Parameters
- T
The type of the element.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the collection. |
|
IsReadOnly | Gets a value that indicates whether the collection is read-only. |
|
Item[String] | Gets metadata objects by name. |
|
Keys | Gets the keys of the collection. |
|
Values | Gets the values of the collection. |
Methods
Name | Description | |
---|---|---|
Contains(KeyValuePair<String, T>) | Indicates whether the collection contains the given item. |
|
ContainsKey(String) | Indicates whether the collection contains the given key. |
|
CopyTo(KeyValuePair<String, T>[], Int32) | Copies the elements of the collection to a given array, starting at a particular array index. |
|
Equals(Object) | (Inherited from Object.) |
|
GetEnumerator() | Returns an enumerator that iterates through the collection. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
TryGetValue(String, T) | Tries to get the value given the key. |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection<KeyValuePair<String, T>>.Add(KeyValuePair<String, T>) | ||
ICollection<KeyValuePair<String, T>>.Clear() | ||
ICollection<KeyValuePair<String, T>>.Remove(KeyValuePair<String, T>) | ||
IDictionary<String, T>.Add(String, T) | ||
IDictionary<String, T>.Remove(String) | ||
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection. |
|
IDictionary<String, T>.Item[String] |
Extension Methods
Name | Description | |
---|---|---|
ToEdgeStream<KeyValuePair<String, T>, TPayload>(Application, Expression<Func<KeyValuePair<String, T>, EdgeEvent<TPayload>>>, AdvanceTimeSettings, String) | 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>(Application, Expression<Func<KeyValuePair<String, T>, IntervalEvent<TPayload>>>, AdvanceTimeSettings, String) | 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>(Application, Expression<Func<KeyValuePair<String, T>, PointEvent<TPayload>>>, AdvanceTimeSettings, String) | Converts a CepStream of point events to an event sink.(Defined by CepStream.) |
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
Microsoft.ComplexEventProcessing Namespace
Return to top