Table of Contents

DeferExtensions Class

public static class DeferExtensions
Inheritance
DeferExtensions

Methods

Defer<T>(T, Action<T>)

Always execute action when exiting method or block scope even if fault by exception.

Defer<T>(ref T, Action<T>)

Always execute action when exiting method or block scope even if fault by exception.

Defer<T, TState>(T, TState, Action<T, TState>)

Always execute action when exiting method or block scope even if fault by exception.

Defer<T, TState>(ref T, TState, Action<T, TState>)

Always execute action when exiting method or block scope even if fault by exception.