Disposable Class

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(Action) IDisposable
Creates an anonymous disposable with the specified disposer action.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin