stevejgordon / CorrelationId

An ASP.NET Core middleware component which synchronises a correlation ID for cross API request logging.
MIT License
558 stars 106 forks source link

Return serviceCollection to allow chained calls #49

Closed mleybsage closed 4 years ago

mleybsage commented 4 years ago

This proposed change enables use of the original IServiceCollection supplied to AddCorrelationId() to be re-used in order to support chaining eg. services.AddCorrelationId().AddNextThingToServiceCollection().....etc

mleybsage commented 4 years ago

Closing & reopening for pull into "dev" branch