/// <summary> /// Initializes a new instance of the <see cref="CastleDecorator"/> class. /// </summary> /// <param name="filter">Used to limit the types to decorate</param> protected CastleDecorator(IDecoratorFilter filter) { _filter = filter; }
/// <summary> /// Initializes a new instance of the <see cref="ExceptionLoggerDecorator"/> class. /// </summary> /// <param name="logger">Used for the actual logging.</param> /// <param name="filter">The filter.</param> public ExceptionLoggerDecorator(IExceptionLogger logger, IDecoratorFilter filter) : base(filter) { _logger = logger; }