Class BindingCollection
- Namespace
- SharpConsoleUI.DataBinding
- Assembly
- SharpConsoleUI.dll
Thread-safe collection of binding subscriptions owned by a control. Disposed when the control is disposed.
public sealed class BindingCollection : IDisposable
- Inheritance
-
BindingCollection
- Implements
- Inherited Members
- Extension Methods
Methods
Add(IDisposable)
Adds a binding subscription to the collection.
public void Add(IDisposable binding)
Parameters
bindingIDisposable
Dispose()
Disposes all bindings and prevents new ones from being added.
public void Dispose()