Table of Contents

Class DisposeAction<T>

Namespace
Volo.Abp
Assembly
Volo.Abp.Core.dll

This class can be used to provide an action when Dispose method is called. The type of the parameter of the action.

public class DisposeAction<T> : IDisposable

Type Parameters

T
Inheritance
DisposeAction<T>
Implements
Inherited Members
Extension Methods

Constructors

DisposeAction(Action<T>, T)

Creates a new DisposeAction object.

public DisposeAction(Action<T> action, T parameter)

Parameters

action Action<T>

Action to be executed when this object is disposed.

parameter T

The parameter of the action.

Methods

Dispose()

public void Dispose()