Class DisposableExtensions
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public static class DisposableExtensions
Methods
Name | Description |
---|---|
Add<T>(T, Action) | Adds an IDisposable which encapsulates an action to an ICollection of IDisposable. |
Add<T, TItem>(T, Func<IEnumerable<TItem>>) | Adds a set of IDisposable objects to an ICollection of IDisposable, and registers a dispose action for them. |
Add<T, TItem>(T, Func<TItem>) | Adds an IDisposable object to an ICollection of IDisposable, and registers a dispose action for it. |
AssignTo<T>(T, SerialDisposable) | Assigns an IDisposable instance to a SerialDisposable. |
ToCompositeDisposable(IEnumerable<IDisposable>) | Converts an IEnumerable of IDisposable into a CompositeDisposable. |
ToObservable(IDisposable) | Converts an IDisposable object into an IObservable of type Unit. |