Exemplo n.º 1
0
 public WidgetsService(IDictionary <string, IInfoViewModel> infos, IInfoFormatService infoFormatService,
                       ILoggerFactory loggerFactory)
 {
     this.infos             = infos;
     this.infoFormatService = infoFormatService;
     this.loggerFactory     = loggerFactory;
 }
Exemplo n.º 2
0
 public DriveInfoService(IDictionary <string, IDriveViewModel> dictionary, IInfoFormatService infoFormatter,
                         ILoggerFactory loggerFactory)
 {
     this.infoFormatter = infoFormatter;
     this.loggerFactory = loggerFactory;
     this.Drives        = dictionary;
     this.Initialize();
 }