IDisposable<T> Interface

Summary

An IDisposable that also exposes a value of type T.
Namespace
global
Interfaces
  • IDisposable
graph BT Type-.->Interface0["IDisposable"] Type["IDisposable<T>"] class Type type-node

Syntax

public interface IDisposable<out T> : IDisposable

Type Parameters

Name Description
T

Properties

Name Value Summary
Value T
Gets the value held by this disposable wrapper.

Extension Methods

Name Value Summary
NotNull<IDisposable<T>>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub