Extra backup on my local device

This commit is contained in:
2015-10-10 17:14:24 +02:00
parent 46e6585495
commit b4e8089efc
7 changed files with 141 additions and 39 deletions

View File

@ -4,6 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Reflection;
namespace CobXmlSupport
{
@ -54,16 +55,15 @@ namespace CobXmlSupport
}
}
public string MoveCode {
public string MoveCode {
get {
return " *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n" +
moveCode +
"\r\n *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n";
}
set{
moveCode = value;
}
}
}
//Holding code-parts used when generating moves, to structure
//Could be a Variable, simple or qualified, could be retreival code.
@ -78,7 +78,7 @@ namespace CobXmlSupport
}
public string MoveFromCode {
public string MoveFromCode {
get {
return " *" + S.strX(' ', 72 - 15 - this.FieldName.Length) + "------" + this.FieldName + "\r\n" +
moveFromCode +
@ -86,7 +86,12 @@ namespace CobXmlSupport
}
set{
moveFromCode = value;
}
// Debug för att se var datat fyll på
//StackTrace stackTrace = new StackTrace();
//MethodBase methBase = stackTrace.GetFrame(1).GetMethod();
//Debug.WriteLine("MoveFromCode -> "+ methBase.Name.ToString() + " calls MoveFromCode saving " + value);
// Debug för att se var datat fyll på
}
}
//Holding code-parts used when generating moves, from structure
//Could be a Variable, simple or qualified, could be retreival code.