Disposable.

Create(Action) Method

Summary

Creates an anonymous disposable with the specified disposer action.
Namespace
Cake.Core
Containing Type
Disposable

Syntax

public static IDisposable Create(Action disposer)

Parameters

Name Type Description
disposer Action The disposer action.

Return Value

Type Description
IDisposable The anonymous disposable.