Initialization of 30 components changed, done in Initialize( ).
This commit is contained in:
@@ -31,8 +31,6 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
|
||||
Results.Entities.Batch batch;
|
||||
|
||||
bool abort;
|
||||
|
||||
|
||||
public Writer() {}
|
||||
|
||||
@@ -40,10 +38,13 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
: base(cfg)
|
||||
{
|
||||
writerCfg = cfg as WriterCfg;
|
||||
ApplyConfig();
|
||||
log.Warn(this.ToString());
|
||||
}
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
ApplyConfig();
|
||||
}
|
||||
|
||||
void ApplyConfig()
|
||||
{
|
||||
@@ -254,8 +255,6 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
/// Common items 1
|
||||
foreach (var v in commonItems)
|
||||
{
|
||||
if (abort) return;
|
||||
|
||||
/// Fetch the item and strip color information
|
||||
string itemText = v.Print(wm);
|
||||
string[] texts = itemText.Split(new char[] { '|' });
|
||||
@@ -267,8 +266,6 @@ namespace TBF.Rig.Output.FileWriters.Xml
|
||||
/// Test items
|
||||
foreach (var mtr in wm.RegularMeterTestRslts())
|
||||
{
|
||||
if (abort) return;
|
||||
|
||||
if ((mtr != null) && (mtr.Publish() == Config.Entities.Publish.Always))
|
||||
{
|
||||
wr.WriteLine(string.Format(" <{0}>", testTag));
|
||||
|
||||
Reference in New Issue
Block a user