private IEnumerable<IRunningProcess> FilterProcessesToApplyHookingSettingsOn(IEnumerable<IRunningProcess> processes)
        {
            var clasifier = new ProcessClasifier();
            clasifier.Categorize(processes.Cast<IProcess>());

            return _view.SelectProcessesToApplyHookingRules(
                clasifier.ToHookOnStart.ToArray(),
                clasifier.UnHooked.ToArray(),
                clasifier.HookedInactive.ToArray(),
                clasifier.HookedActive.ToArray());
        }
        private void DisplayRunningProcesses()
        {
            var processes = _spyManager.RunningProcesses();

            processes = ProcessFilter.ForInvalidProcesses(_platformBits).Filter(processes);

            var clasifier = new ProcessClasifier();
            clasifier.Categorize(processes.Cast<IProcess>());

            _view.DisplayRunningProcesses(
                clasifier.ToHookOnStart.ToArray(),
                clasifier.UnHooked.ToArray(),
                 clasifier.HookedInactive.ToArray(),
                clasifier.HookedActive.ToArray());
        }