18 using System.ComponentModel.Composition;
32 private readonly
IApi _api;
51 get {
return _notify; }
59 get {
return _jobQueue; }
67 get {
return _leanManager; }
81 throw new ArgumentNullException(nameof(jobQueue));
85 throw new ArgumentNullException(nameof(api));
89 throw new ArgumentNullException(nameof(notify));
91 if (leanManager ==
null)
93 throw new ArgumentNullException(nameof(leanManager));
98 _leanManager = leanManager;
111 composer.GetExportedValueByTypeName<
IApi>(
Config.
Get(
"api-handler")),
113 composer.GetExportedValueByTypeName<
ILeanManager>(
Config.
Get(
"lean-manager-type",
"LocalLeanManager")));
131 Log.
Trace(
"LeanEngineSystemHandlers.Dispose(): start...");
137 Log.
Trace(
"LeanEngineSystemHandlers.Dispose(): Disposed of system handlers.");