Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PublishTask"/> class.
 /// </summary>
 public PublishTask(Settings settings)
 {
     _globalVariables = settings.GlobalVariables;
     _reportServers   = new Dictionary <string, ReportServerInfo>(settings.ReportServers);
     _dataSources     = new Dictionary <string, DataSource>(settings.DataSources);
     _reportGroups    = new List <ReportGroup>(settings.ReportGroups);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DbTask"/> class.
 /// </summary>
 public DbTask(Settings settings)
 {
     _globalVariables = settings.GlobalVariables;
     _dbExecutions    = new List <DbExecution>(settings.DbExecutions);
     _dbConnections   = new Dictionary <string, string>(settings.DbConnections);
 }