Skip to content

Commit

Permalink
Fixed example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmwebb-lv committed May 10, 2024
1 parent fb11f34 commit ad4c1af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected override void OnBuildInitialized()
{
Log.Information("Generating NuGet packages for projects in solution");
int commitNum = 0;
string NuGetVersionCustom = "2.0.0.879";
string NuGetVersionCustom = "2.0.0.880";


//if it's not a tagged release - append the commit number to the package version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
.WithEventHandling<InMemoryEventBusBuilder>(eventHandling =>
{
eventHandling.AddProducer<PublishWithEventBusEventProducer>();

// You can add subscribers this way which is pretty straight forward but verbose
//eventHandling.AddSubscriber<TestEvent, TestEventHandler>();

// Or this way which uses a little magic but is simple
eventHandling.AddSubscribers((typeof(Program).GetTypeInfo().Assembly));
eventHandling.AddSubscriber<TestEvent, TestEventHandler>();
});

}).Build();
Expand Down

0 comments on commit ad4c1af

Please sign in to comment.