Summary
Disposable helper.
- Namespace
- Cake
.Core - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["Disposable"]
class Type type-node
Syntax
public static class Disposable
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Empty |
An empty disposable; does nothing.
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| Create |
IDisposable |
Creates an anonymous disposable with the specified disposer action.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
