Catel.ExceptionHandling.ExceptionHandler.ExceptionHandler C# (CSharp) Метод

ExceptionHandler() публичный Метод

Initializes a new instance of the ExceptionHandler class.
The is null. The is null.
public ExceptionHandler ( Type exceptionType, Action action, ExceptionPredicate filter = null ) : System
exceptionType System.Type Type of the exception.
action Action The action to execute.
filter ExceptionPredicate The exception filter.
Результат System
        public ExceptionHandler(Type exceptionType, Action<Exception> action, ExceptionPredicate filter = null)
        {
            Argument.IsNotNull("exceptionType", exceptionType);
            Argument.IsNotNull("action", action);

            ExceptionType = exceptionType;
            _action = action;
            Filter = filter;
        }
        #endregion