Share via


IEventStore Interface

Definition

Implements a FIFO store of events

public interface IEventStore : IDisposable, System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Common.EventData>
type IEventStore = interface
    interface seq<EventData>
    interface IEnumerable
    interface IDisposable
Public Interface IEventStore
Implements IDisposable, IEnumerable(Of EventData)
Derived
Implements

Methods

AddEvent(EventData)

Add an event to the store

TryGetEvent(EventData)

Try to get the next event from the store

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)
Batch<TSource>(IEnumerable<TSource>, Int32)

Batches an enumerable into batches of the specified size.

CoalesceEnumerable<TSource>(IEnumerable<TSource>)

Coalesces the enumerable.

Distinct<TSource,TKeyType>(IEnumerable<TSource>, Func<TSource,TKeyType>, IEqualityComparer<TKeyType>)

Returns a distinct collection based on a key.

DistinctArray<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

Returns a distinct array.

SelectArray<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)

Selects a collection and returns an array.

SelectManyArray<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>)

Selects a collection and returns an array.

ToInsensitiveDictionary<TValue>(IEnumerable<TValue>, Func<TValue,String>)

Creates an insensitive dictionary from an enumerable.

ToInsensitiveDictionary<TSource,TValue>(IEnumerable<TSource>, Func<TSource,String>, Func<TSource,TValue>)

Creates an insensitive dictionary from an enumerable.

Coalesce<TSource>(IEnumerable<TSource>)
ForEach<T>(IEnumerable<T>, Action<T>)
MaxOrDefault<T,TResult>(IEnumerable<T>, Func<T,TResult>, TResult)
NonNull<T>(IEnumerable<T>)

Applies to