Skip to content

Commit 84bf4e2

Browse files
corvansteijndennisdoomen
authored andcommitted
All interfaces and delegates should be internal so that no collisions occur (#11)
1 parent 10beddc commit 84bf4e2

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

Src/LiquidProjections.PollingEventStore/PollingEventStoreAdapter.cs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,12 @@ public void Dispose()
434434
/// Represents an event store which does not actively push transactions to LiquidProjections and which
435435
/// requires polling.
436436
/// </summary>
437-
public interface IPassiveEventStore
437+
#if LIQUIDPROJECTIONS_BUILD_TIME
438+
public
439+
#else
440+
internal
441+
#endif
442+
interface IPassiveEventStore
438443
{
439444
/// <summary>
440445
/// Loads <see cref="Transaction"/>s from the storage in the order that they should be projected (should be the same order that they were persisted).
@@ -454,5 +459,10 @@ public interface IPassiveEventStore
454459
/// <summary>
455460
/// Defines a method that can be used to route logging to the logging framework of your choice.
456461
/// </summary>
457-
public delegate void LogMessage(Func<string> message);
462+
#if LIQUIDPROJECTIONS_BUILD_TIME
463+
public
464+
#else
465+
internal
466+
#endif
467+
delegate void LogMessage(Func<string> message);
458468
}

0 commit comments

Comments
 (0)