C# Class Rolcore.ExceptionExtensions

Extension methods for Exception.
显示文件 Open project: Rollins/Rolcore

Public Methods

Method Description
ForEachInnerException ( this exception, Action action ) : void

Performs an action for the given Exception and its inner exceptions.

Method Details

ForEachInnerException() public static method

Performs an action for the given Exception and its inner exceptions.
public static ForEachInnerException ( this exception, Action action ) : void
exception this Specifies the exception to iterate.
action Action Specifies the action to take for each exception.
return void