/// <summary>
 /// Configures the container.
 /// </summary>
 /// <param name="container">The configuration container.</param>
 /// <returns>The configured container.</returns>
 protected override RegularConfigSource DoConfigure(RegularConfigSource container)
 {
     container.AddException(this.exceptionType, behavior);
     container.AddExceptionHandler(this.exceptionType, this.exceptionHandlerType);
     return container;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Configures the container.
 /// </summary>
 /// <param name="container">The configuration container.</param>
 /// <returns>The configured container.</returns>
 protected override RegularConfigSource DoConfigure(RegularConfigSource container)
 {
     container.AddException(this.exceptionType, behavior);
     container.AddExceptionHandler(this.exceptionType, this.exceptionHandlerType);
     return(container);
 }