Initialization of 30 components changed, done in Initialize( ).
This commit is contained in:
@@ -28,8 +28,6 @@ namespace TBF.Rig.Output.FileWriters.Elde
|
||||
|
||||
Results.Entities.Batch batch;
|
||||
|
||||
bool abort;
|
||||
|
||||
|
||||
public Writer() {}
|
||||
|
||||
@@ -37,10 +35,13 @@ namespace TBF.Rig.Output.FileWriters.Elde
|
||||
: base(cfg)
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
ApplyConfig();
|
||||
}
|
||||
|
||||
void ApplyConfig()
|
||||
{
|
||||
@@ -237,7 +238,6 @@ namespace TBF.Rig.Output.FileWriters.Elde
|
||||
Thread.CurrentThread.CurrentCulture = new CultureInfo(writerCfg.Culture.ToString());
|
||||
}
|
||||
|
||||
abort = false;
|
||||
WriteRslts(batch, writerCfg.DestinationPath);
|
||||
WriteRslts(batch, writerCfg.DestinationPath2);
|
||||
|
||||
@@ -327,8 +327,6 @@ namespace TBF.Rig.Output.FileWriters.Elde
|
||||
/// Write aligned columns
|
||||
for (int i = 0; i < Math.Min(leftColumn.Length, rightColumn.Length); i++)
|
||||
{
|
||||
if (abort) return;
|
||||
|
||||
wrtr.Write(leftColumn[i]);
|
||||
|
||||
if (!writerCfg.EliminateSpaces)
|
||||
|
||||
Reference in New Issue
Block a user