Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZipManager"/> class.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="target">The target.</param>
 /// <param name="zipLevel">The zip level.</param>
 /// <param name="zipPassword">The zip password.</param>
 /// <param name="recursive">if set to <c>true</c> [recursive].</param>
 /// <param name="removeSouce">if set to <c>true</c> [remove souce].</param>
 /// <param name="overwriteTarget">if set to <c>true</c> [overwrite target].</param>
 /// <param name="loglevel">The loglevel.</param>
 /// <param name="componentEvents">The component events.</param>
 public TarManager(string source, string target, TarCompressionLevel tarLevel, string password, bool recursive, bool removeSouce, bool overwriteTarget, LogLevel loglevel, IDTSComponentEvents componentEvents)
 {
     this.source          = source;
     this.target          = target;
     this.tarLevel        = tarLevel;
     this.password        = password;
     this.recursive       = recursive;
     this.removeSource    = removeSource;
     this.fileFilter      = String.IsNullOrEmpty(fileFilter) ? "true" : fileFilter;
     this.overwriteTarget = overwriteTarget;
     this.logLevel        = logLevel;
     this.componentEvents = componentEvents;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZipManager"/> class.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="target">The target.</param>
 /// <param name="zipLevel">The zip level.</param>
 /// <param name="zipPassword">The zip password.</param>
 /// <param name="recursive">if set to <c>true</c> [recursive].</param>
 /// <param name="removeSouce">if set to <c>true</c> [remove souce].</param>
 /// <param name="overwriteTarget">if set to <c>true</c> [overwrite target].</param>
 /// <param name="loglevel">The loglevel.</param>
 /// <param name="componentEvents">The component events.</param>
 public TarManager(string source, string target, TarCompressionLevel tarLevel, string password, bool recursive, bool removeSouce, bool overwriteTarget, LogLevel loglevel, IDTSComponentEvents componentEvents)
 {
     this.source = source;
     this.target = target;
     this.tarLevel = tarLevel;
     this.password = password;
     this.recursive = recursive;
     this.removeSource = removeSource;
     this.fileFilter = String.IsNullOrEmpty(fileFilter) ? "true" : fileFilter;
     this.overwriteTarget = overwriteTarget;
     this.logLevel = logLevel;
     this.componentEvents = componentEvents;
 }