예제 #1
0
        public void UpdateCodeText(string codeText)
        {
            if (Job != null)
            {
                Job.Terminate();
                scanResult = null; // ditch any previous results.

                // Abandon to the garbage collector.
                Job = null;
            }

            CodeText = codeText;

            Job          = new CloneFinderJob(codeText);
            Job.JobDone += OnJobDone;

            Job.Start();
        }
예제 #2
0
        public void UpdateCodeText(string codeText)
        {
            if (Job != null)
            {
                Job.Terminate();
                scanResult = null; // ditch any previous results.

                // Abandon to the garbage collector.
                Job = null;
            }

            CodeText = codeText;

            Job = new CloneFinderJob(codeText);
            Job.JobDone += OnJobDone;

            Job.Start();
        }