Added option to check RTF with StepRTB

Use Temporary Folder for SearchResults
Remove override of Equals - return to default
Comment-out Debug
Remove PDFs that are older than one hour
Added a ShowLocalStack that takes a format and a list of parameters
This commit is contained in:
Rich
2010-10-12 14:59:23 +00:00
parent d3c6e41a5a
commit dc6721f54c
9 changed files with 209 additions and 175 deletions

View File

@@ -287,13 +287,13 @@ namespace VEPROMS.CSLA.Library
#region ItemInfo
public partial class ItemInfo:IVEDrillDownReadOnly
{
public override bool Equals(object obj)
{
ItemInfo ii = obj as ItemInfo;
if (ii != null)
return ii._ItemID == _ItemID;
return false;
}
//public override bool Equals(object obj)
//{
// ItemInfo ii = obj as ItemInfo;
// if (ii != null)
// return ii._ItemID == _ItemID;
// return false;
//}
public bool IsFirstSubStep
{
@@ -1327,8 +1327,8 @@ namespace VEPROMS.CSLA.Library
// if this token is preceeded by another token and followed by a space
// leave the preceeding token the ending space
string retval = Regex.Replace(str, @"(\\[^ \\?\r\n\t]*)" + token + " ", "$1 ");
if (retval != str)
Console.WriteLine("leave the preceeding token the ending space");
//if (retval != str) // Show the token replacement
// Console.WriteLine("Leave the preceeding token the ending space '{0}'\r\n{1}\r\n{2}",token,str,retval);
// otherwise replace the token optionally followed by a space
retval = Regex.Replace(retval, token + " ?", "");
return retval;

View File

@@ -505,7 +505,7 @@ namespace VEPROMS.CSLA.Library
private static string RhmTab(ItemInfo item)
{
if (item == null) return "";
if (item.ItemID == 2065) Console.WriteLine("here");
//if (item.ItemID == 2065) Console.WriteLine("here");
string sret = "";
switch (item.MyContent.Type / 10000)
{