public void LogPreExecuteState(IDev2Activity nextActivity) { _writer.WriteLine("header:LogPreExecuteState"); WriteHeader(null, nextActivity); _dsfDataObject.LogState(_jsonTextWriter); _jsonTextWriter.Flush(); _writer.WriteLine(); _writer.Flush(); }