Skip to content

Commit

Permalink
Make decorators public
Browse files Browse the repository at this point in the history
  • Loading branch information
khellang committed Dec 23, 2024
1 parent 4284819 commit 6e9975f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Scrutor.Tests/DecorationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ public interface IHandlerDecorator
public sealed class MyEvent : IEvent
{ }

internal sealed class MyEvent1Handler : IEventHandler<MyEvent>
public sealed class MyEvent1Handler : IEventHandler<MyEvent>
{
private int _callCount;

Expand All @@ -581,7 +581,7 @@ public int Handle(MyEvent @event)
}
}

internal sealed class MyEvent2Handler : IEventHandler<MyEvent>
public sealed class MyEvent2Handler : IEventHandler<MyEvent>
{
private int _callCount;

Expand All @@ -591,7 +591,7 @@ public int Handle(MyEvent @event)
}
}

internal sealed class MyEvent3Handler : IEventHandler<MyEvent>
public sealed class MyEvent3Handler : IEventHandler<MyEvent>
{
private int _callCount;

Expand All @@ -601,7 +601,7 @@ public int Handle(MyEvent @event)
}
}

internal sealed class MyEventHandlerDecorator<TEvent> : IEventHandler<TEvent>, IHandlerDecorator where TEvent : class, IEvent
public sealed class MyEventHandlerDecorator<TEvent> : IEventHandler<TEvent>, IHandlerDecorator where TEvent : class, IEvent
{
public readonly IEventHandler<TEvent> Handler;

Expand Down

0 comments on commit 6e9975f

Please sign in to comment.