C# Класс ApprovalTests.Utilities.ParentProcessUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
CurrentProcessWithAncestors ( ) : IEnumerable
GetParentProcess ( Process currentProcess ) : Process
GetSelfAndAncestors ( Process self ) : IEnumerable

Приватные методы

Метод Описание
CreateToolhelp32Snapshot ( uint dwFlags, uint th32ProcessId ) : IntPtr
ParentProcess ( this process ) : Process
Process32First ( IntPtr hSnapshot, PROCESSENTRY32 &lppe ) : bool
Process32Next ( IntPtr hSnapshot, PROCESSENTRY32 &lppe ) : bool

Описание методов

CurrentProcessWithAncestors() публичный статический Метод

public static CurrentProcessWithAncestors ( ) : IEnumerable
Результат IEnumerable

GetParentProcess() публичный статический Метод

public static GetParentProcess ( Process currentProcess ) : Process
currentProcess System.Diagnostics.Process
Результат System.Diagnostics.Process

GetSelfAndAncestors() публичный статический Метод

public static GetSelfAndAncestors ( Process self ) : IEnumerable
self System.Diagnostics.Process
Результат IEnumerable