예제 #1
0
        /// <summary>
        /// Detects if this computers contains cheats
        /// and files that have stayed after the removal.
        /// </summary>
        public List <ICheat> Detect()
        {
            var Cheats = new List <ICheat>(this.Cheetos.Count);

            foreach (var Cheat in this.Cheetos)
            {
                var Detected = Cheat.Detect();

                if (Detected)
                {
                    Cheats.Add(Cheat);
                }
            }

            return(Cheats);
        }