public AzureManagement(IMlogger logger, IAppConfiguration configuration, IDataExporter dataExporter)
 {
     Logger = logger;
     Configuration = configuration;
     var subscriptionId = configuration.SubscriptionId();
     var base64EncodedCertificate = configuration.Base64EncodedManagementCertificate();
     MyCloudCredentials = getCredentials(subscriptionId, base64EncodedCertificate);
     Exporter = dataExporter;
 }
        public AzureManagement(IMlogger logger, IAppConfiguration configuration, IDataExporter dataExporter)
        {
            Logger        = logger;
            Configuration = configuration;
            var subscriptionId           = configuration.SubscriptionId();
            var base64EncodedCertificate = configuration.Base64EncodedManagementCertificate();

            MyCloudCredentials = getCredentials(subscriptionId, base64EncodedCertificate);
            Exporter           = dataExporter;
        }
 public FileExporter(IMlogger logger, string exportFileLocation)
 {
     _ExportData = new List <string>();
     _ExportFile = exportFileLocation;
     _Logger     = logger;
 }
 public HtmlExporter(IMlogger logger, string exportFileLocation, IHtmlWrapper wrapper )
     : base(logger, exportFileLocation)
 {
     Wrapper = wrapper;
 }
 public AzureManagementDownloader(IMlogger logger, IAppConfiguration configuration, IDataExporter dataExporter)
     : base(logger, configuration, dataExporter)
 {
 }
 public AzureManagementDownloader(IMlogger logger, IAppConfiguration configuration, IDataExporter dataExporter)
     : base(logger, configuration, dataExporter)
 {
 }
Example #7
0
 public HtmlExporter(IMlogger logger, string exportFileLocation, IHtmlWrapper wrapper)
     : base(logger, exportFileLocation)
 {
     Wrapper = wrapper;
 }
Example #8
0
 public CsvExporter(IMlogger logger, string exportFileLocation)
     : base(logger, exportFileLocation)
 {
 }
Example #9
0
 public CsvExporter(IMlogger logger, string exportFileLocation)
     : base(logger, exportFileLocation)
 {
 }
Example #10
0
 public FileExporter(IMlogger logger, string exportFileLocation)
 {
     _ExportData = new List<string>();
     _ExportFile = exportFileLocation;
     _Logger = logger;
 }