コード例 #1
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);
 }
コード例 #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));
        }
コード例 #3
0
 public SystemProcessThreadService()
 {
     this._iSystemProcessThreadRepository = new SystemProcessThreadRepository();
 }