Ignore:
Timestamp:
Sep 17, 2009, 12:29:12 PM (12 years ago)
Author:
angelov
Message:

New output added -dictionary HitCount

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Contains/Contains.cs

    r419 r526  
    363363      }
    364364    }
     365
     366
     367
     368//Angelov:
     369    private int hitCount = 0;
     370
     371   
     372    [PropertyInfo(Direction.OutputData, "Number of Hits", "The search result is based on the current input and the given parameters.", "", false, false, DisplayLevel.Expert, QuickWatchFormat.Text, null)]
     373    public int HitCount
     374    {
     375        get { return hitCount; }
     376        set
     377        {
     378            hitCount = value;
     379            OnPropertyChanged("HitCount");
     380           
     381        }
     382    }
     383//End Angelov
     384
     385
    365386
    366387    #region IPlugin Members
     
    444465            }
    445466          }
     467           
     468           
     469
    446470
    447471          // set target-hits bases on current setting
     
    470494          }
    471495          presentation.SetData(listReturn.ToArray());
     496
     497         //Angelov:
     498
     499          HitCount = listReturn.Count;
     500
     501         //End Angelov
     502
    472503        }
    473504        else
     
    488519        EventsHelper.GuiLogMessage(OnGuiLogNotificationOccured, this, new GuiLogEventArgs(exception.Message, this, NotificationLevel.Error));
    489520      }
     521
     522
     523
    490524    }
    491525
Note: See TracChangeset for help on using the changeset viewer.