Table of Contents

Class ExceptionInvoker<TException, TResult>

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Provides a generic way to throw an Exception.

public class ExceptionInvoker<TException, TResult>
    where TException : Exception

Type Parameters

TException

The type of the Exception.

TResult

The type of the out result value of a TesterFunc<TResult, TSuccess>.

Inheritance
ExceptionInvoker<TException, TResult>

Methods

TryThrow()

Determines whether an Exception of type TException should be thrown.

public void TryThrow()