Maintains information about a table's child and cross-reference dependencies.
An observer can bind to the Items collection to monitor the dependencies.
| C# |
public class DependencyMonitor : IWeakEventListener, IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DependencyMonitor(Database, DataPlace..::.DPTableRow) |
Creates a new instance.
| |
| Database |
Gets the database.
| |
| Dispose()()() |
Disposes of the object.
| |
| Dispose(Boolean) |
Disposes of the object.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Finalizes the object.
(Overrides Object.Finalize()()().) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsDisposed |
Whether the object has been disposed.
| |
| Items |
Gets a collection of the table's dependencies. The collection is kept up-to-date and is suitable for data-binding.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReceiveWeakEvent(Type, Object, EventArgs) |
Handles events for this IWeakEventListener, refreshing the Items collection
after data has been refreshed by a relevant DataProvider.
| |
| Refresh()()() |
Refreshes the dependencies.
| |
| RefreshAsync(DependencyRefreshedCallback) |
Refreshes the dependencies asynchronously.
| |
| TargetDpTableRow |
Gets the DPTable row that defines the table whose dependencies are being monitored.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| DependencyMonitor | |