This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Removes an item from the collection. If the item removed occurs at or before the current position the current position is moved back by one. | |
/// </summary> | |
/// <param name="item"></param> | |
/// <returns></returns> | |
public bool Remove(T item) | |
{ | |
if (Contains(item)) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Transactions; | |
namespace EventStore.Example | |
{ | |
using System; | |
internal static class MainProgram | |
{ | |
private static readonly Guid StreamId = Guid.NewGuid(); // aggregate identifier |