public List<SystemProcessThread> GetSystemProcessThreadsByProcessName(string name)
 {
     SystemProcess process = GetSystemProcessByName(name);
     //ISystemProcessThreadRepository systemProcessThreadRepository = IoC.Resolve<ISystemProcessThreadRepository>("SystemProcessThreadRepository");
     SystemProcessThreadRepository systemProcessThreadRepository = new SystemProcessThreadRepository();
     return systemProcessThreadRepository.GetSystemProcessThreadBySystemProcessId(process.SystemProcessId);
 }
Ejemplo n.º 2
0
        public List <SystemProcessThread> GetSystemProcessThreadsByProcessName(string name)
        {
            SystemProcess process = GetSystemProcessByName(name);
            //ISystemProcessThreadRepository systemProcessThreadRepository = IoC.Resolve<ISystemProcessThreadRepository>("SystemProcessThreadRepository");
            SystemProcessThreadRepository systemProcessThreadRepository = new SystemProcessThreadRepository();

            return(systemProcessThreadRepository.GetSystemProcessThreadBySystemProcessId(process.SystemProcessId));
        }
 public SystemProcessThreadService()
 {
     this._iSystemProcessThreadRepository = new SystemProcessThreadRepository();
 }