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())); }