Skip to content

Commit

Permalink
Provide previous MessageMetadataRegistry constructor definition (#6294)
Browse files Browse the repository at this point in the history
* Provide previous MessageMetadataRegistry constructor definition

* Remove newline

* formatting
  • Loading branch information
DavidBoike committed Mar 3, 2022
1 parent 1b5a9e4 commit 3857f44
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
/// </summary>
public class MessageMetadataRegistry
{
// This constructor signature is used by reflection in NServiceBus.Raw and elsewhere
internal MessageMetadataRegistry(Func<Type, bool> isMessageType)
: this(isMessageType, true)
{
}

internal MessageMetadataRegistry(Func<Type, bool> isMessageType, bool allowDynamicTypeLoading)
{
this.isMessageType = isMessageType;
Expand Down

0 comments on commit 3857f44

Please sign in to comment.