Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Remove c# 6.0 String Interpolation #3

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
namespace Cedar.EventStore
{
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
Expand Down Expand Up @@ -51,7 +52,7 @@ private async Task<AllEventsPage> ReadAllStreamToEnd(IEventStore eventStore)
LogAllEventsPage(allEventsPage);
while (!allEventsPage.IsEnd && count < 10)
{
_testOutputHelper.WriteLine($"Loop {count}");
_testOutputHelper.WriteLine(String.Format("Loop {0}", count));
allEventsPage = await eventStore.ReadAll(allEventsPage.NextCheckpoint, pageSize);
LogAllEventsPage(allEventsPage);
count++;
Expand All @@ -61,10 +62,10 @@ private async Task<AllEventsPage> ReadAllStreamToEnd(IEventStore eventStore)

private void LogAllEventsPage(AllEventsPage allEventsPage)
{
_testOutputHelper.WriteLine($"FromCheckpoint = {allEventsPage.FromCheckpoint}");
_testOutputHelper.WriteLine($"NextCheckpoint = {allEventsPage.NextCheckpoint}");
_testOutputHelper.WriteLine($"IsEnd = {allEventsPage.IsEnd}");
_testOutputHelper.WriteLine($"StreamEvents.Count = {allEventsPage.StreamEvents.Count}");
_testOutputHelper.WriteLine(String.Format("FromCheckpoint = {0}", allEventsPage.FromCheckpoint));
_testOutputHelper.WriteLine(String.Format("NextCheckpoint = {0}", allEventsPage.NextCheckpoint));
_testOutputHelper.WriteLine(String.Format("IsEnd = {0}", allEventsPage.IsEnd));
_testOutputHelper.WriteLine(String.Format("StreamEvents.Count = {0}", allEventsPage.StreamEvents.Count));
_testOutputHelper.WriteLine("");
}
}
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy