code-patterns 3.4.0-beta
Pre-release
Pre-release
- New logging components in
Patterns.Logging(new dependency: Castle.Core):LoggingInterceptor→ implementsIInterceptorby calling the appropriateILogmethods throughout interception (issue 12)string Exception.ToFullString()(extension) → concatenates exception messages, stack traces and inner exceptions (recursive)
- New Autofac support for
Patterns.LogginginPatterns.Autofac.Modules:LoggingModule→ registersLoggingInterceptor, as well as attaching to all registrations in order to provide appropriately type-bound instances ofILogon-demand
- New Autofac container type for increased accessibility:
Patterns.Autofac.AccessibleContainer - New Moq / IoC components in
Patterns.Testing.Moq:IMoqContainer(depends on Microsoft.Practices.ServiceLocation and Moq) → exposesIServiceLocator; provides full IoC container support; providesMock{TObject}creation supportMoqRegistrationSource→ implements Autofac'sIRegistrationSourceby creating Mocks of services when registrations are missingMoqContainer→ implementsIMoqContainerby using Autofac withMoqRegistrationSource