/// <summary>
 ///     Creates new instance of <see cref="NetworkDeviceDefinitionBuilder{TDevice}" />
 /// </summary>
 /// <param name="networkEventsManager">Network events manager.</param>
 /// <param name="additionalRepositoryDescriptorProvider">Additional descriptor provider.</param>
 /// <param name="logger">Logger.</param>
 public NetworkDeviceDefinitionBuilder(
     INetworkEventsManager networkEventsManager,
     IAdditionalRepositoryDescriptorProvider additionalRepositoryDescriptorProvider,
     ILogger <NetworkDeviceDefinitionBuilder <TDevice> > logger = null)
 {
     _builderLogger        = logger;
     _networkEventsManager = networkEventsManager;
     _additionalRepositoryDescriptorProvider = additionalRepositoryDescriptorProvider;
 }
Example #2
0
 /// <summary>
 ///     Creates new instance of <see cref="DashboardViewModel" />
 /// </summary>
 /// <param name="networkEventsManager">Network events receiver.</param>
 /// <param name="navigationManager"></param>
 /// <param name="_boilerFactory"></param>
 /// <param name="logger"></param>
 public DashboardViewModel(
     IDispatcherAdapter dispatcherAdapter,
     INetworkEventsManager networkEventsManager,
     INavigationManager <PageIndex> navigationManager,
     Func <Boiler> _boilerFactory,
     ILogger <DashboardViewModel> logger)
 {
     _dispatcherAdapter    = dispatcherAdapter;
     _networkEventsManager = networkEventsManager;
     _navigationManager    = navigationManager;
     this._boilerFactory   = _boilerFactory;
     _logger = logger;
     Initialize();
 }
Example #3
0
 public Bootstrapper(
     ILogger <Bootstrapper> logger,
     ILibraryLogger libraryLogger,
     IAzurePublisher azurePublisher,
     INetworkEventsManager networkEventsManager,
     INetworkDeviceDefinitionBuilderFactory builderFactory,
     Func <Boiler> boilerFactory,
     Func <DynamicAzureDevice> azureDeviceFactory)
 {
     _logger               = logger;
     _azurePublisher       = azurePublisher;
     _networkEventsManager = networkEventsManager;
     _builderFactory       = builderFactory;
     _boilerFactory        = boilerFactory;
     _azureDeviceFactory   = azureDeviceFactory;
 }
 public NetworkDeviceDynamicLifetimeHandle(INetworkEventsManager networkEventsManager)
 {
     _networkEventsManager = networkEventsManager;
 }