Added a wrapper for the IAuditMessages

Certain containers do not allow multiple registrations for the same interface impl.
This is fine because the property is manually injected.
It is only a problem if both ctor and prop need to be injected by the
container.

On Wednesday, September 17, 2014, Simon Cropp <notifications@github.com>
wrote:

> In src/NServiceBus.Core/Audit/DefaultMessageAuditer.cs:
>
> >      using Support;
> >      using Unicast;
> >
> > -    class DefaultMessageAuditer : IAuditMessages
> > +    class AuditerWrapper : IAuditMessages
> > +    {
> > +        readonly IBuilder builder;
> > +
> > +        public Type AuditerImplType { get; set; }
> > +
> > +        public AuditerWrapper(IBuilder builder)
>
> isnt this mixing constructor and property injection?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Particular/NServiceBus/pull/2396/files#r17653352>.
>