Disposable.AnonymousDisposable<T>
A private class in Alta.LifecycleManagement.Runtime, Alta.LifecycleManagement. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Disposable returned by Disposable.CreateWithState: runs an action with a state value the first time it's disposed.
- Listed in Other Alta assemblies
- Nested in
Disposable - Inherits or implements
IDisposable
Constructors
| Member | What it is |
|---|---|
AnonymousDisposable(T state, Action<T> dispose) | Creates a Disposable.AnonymousDisposable from state and dispose. |
Fields
3 private and internal fields
Methods
| Member | What it is |
|---|---|
void Dispose() | Runs the action with the state, only the first time. |