C2026-041-invisible-position-changes-as-differences
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
using DevComponents.DotNetBar;
|
using DevComponents.DotNetBar;
|
||||||
using Org.BouncyCastle.Utilities;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net.NetworkInformation;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Volian.Base.Library
|
namespace Volian.Base.Library
|
||||||
@@ -160,12 +158,9 @@ namespace Volian.Base.Library
|
|||||||
{ _MyDebugPrint.Close();
|
{ _MyDebugPrint.Close();
|
||||||
_MyDebugPrint_Truncated.Close(); }
|
_MyDebugPrint_Truncated.Close(); }
|
||||||
public static void Write(string format, params object[] args)
|
public static void Write(string format, params object[] args)
|
||||||
{
|
|
||||||
if (args.Length > 8)
|
|
||||||
{
|
{
|
||||||
if (args[args.GetUpperBound(0)] == "truncate_false" || args[args.GetUpperBound(0)] == "truncate_true") // if there is a 9th element test the value for truncated data.
|
if (args[args.GetUpperBound(0)] == "truncate_false" || args[args.GetUpperBound(0)] == "truncate_true") // if there is a 9th element test the value for truncated data.
|
||||||
{
|
{
|
||||||
int myvalue = args.GetUpperBound(0);
|
|
||||||
// test and save untruncated and truncated version of the data.
|
// test and save untruncated and truncated version of the data.
|
||||||
if (args[args.GetUpperBound(0)] == "truncate_false")// when untruncated data is being saved
|
if (args[args.GetUpperBound(0)] == "truncate_false")// when untruncated data is being saved
|
||||||
{
|
{
|
||||||
@@ -183,13 +178,6 @@ namespace Volian.Base.Library
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else // test if asgs does not have a 9th element save data (no truncate data is available)
|
|
||||||
{
|
|
||||||
_MyDebugPrint_Truncated.Write(format, args);
|
|
||||||
_MyDebugPrint.Write(format, args);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public static void WriteLine(string format, params object[] args)
|
public static void WriteLine(string format, params object[] args)
|
||||||
{
|
{
|
||||||
if(args.Length > 8)
|
if(args.Length > 8)
|
||||||
|
|||||||
Reference in New Issue
Block a user