Exemple #1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="api">The current api</param>
 public CmsController(IApi api, IModelLoader loader, IAdapterEngine adapterEngine)
 {
     _api           = api;
     _loader        = loader;
     _adapterEngine = adapterEngine;
 }
Exemple #2
0
 public TEIHubController(IAdapterEngine adapterEngine)
 {
     _adapterEngine = adapterEngine ?? throw new ArgumentNullException(nameof(adapterEngine));
 }