Table of Contents

Dependency Constructor

Definition

Namespace
Cuemon.Runtime
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Runtime/Dependency.cs

Dependency(Func<EventHandler<WatcherEventArgs>, IEnumerable<IWatcher>>, bool)

Initializes a new instance of the Dependency class.

protected Dependency(Func<EventHandler<WatcherEventArgs>, IEnumerable<IWatcher>> watchersHandler, bool breakTieOnChanged)

Parameters

watchersHandler Func<EventHandler<WatcherEventArgs>, IEnumerable<IWatcher>>

The function delegate that associates watchers to this dependency.

breakTieOnChanged bool

if set to true all IWatcher instances is disassociated with this dependency after first notification of changed.