Skip to content

Commit

Permalink
(#123) Remove constrant for Sequence Context
Browse files Browse the repository at this point in the history
  • Loading branch information
pardahlman committed Jan 29, 2017
1 parent e2cd772 commit 725d6e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class MessageSequenceExtension
public static MessageSequence<TCompleteType> ExecuteSequence<TMessageContext, TCompleteType>(
this IBusClient client,
Func<IMessageChainPublisher<TMessageContext>, MessageSequence<TCompleteType>> cfg
) where TMessageContext : IMessageContext, new()
) where TMessageContext : new()
{
var sequenceMachine = new StateMachine.MessageSequence<TMessageContext>(client);
return cfg(sequenceMachine);
Expand Down

0 comments on commit 725d6e6

Please sign in to comment.