Skip to content

Instantly share code, notes, and snippets.

using System;
public abstract class DisposableResult<T> : IDisposable {
public readonly T Value;
protected DisposableResult(T value) {
Value = value;
}