C# Class ApprovalTests.Utilities.ParentProcessUtils

Afficher le fichier Open project: approvals/ApprovalTests.Net

Méthodes publiques

Méthode Description
CurrentProcessWithAncestors ( ) : IEnumerable
GetParentProcess ( Process currentProcess ) : Process
GetSelfAndAncestors ( Process self ) : IEnumerable

Private Methods

Méthode Description
CreateToolhelp32Snapshot ( uint dwFlags, uint th32ProcessId ) : IntPtr
ParentProcess ( this process ) : Process
Process32First ( IntPtr hSnapshot, PROCESSENTRY32 &lppe ) : bool
Process32Next ( IntPtr hSnapshot, PROCESSENTRY32 &lppe ) : bool

Method Details

CurrentProcessWithAncestors() public static méthode

public static CurrentProcessWithAncestors ( ) : IEnumerable
Résultat IEnumerable

GetParentProcess() public static méthode

public static GetParentProcess ( Process currentProcess ) : Process
currentProcess System.Diagnostics.Process
Résultat System.Diagnostics.Process

GetSelfAndAncestors() public static méthode

public static GetSelfAndAncestors ( Process self ) : IEnumerable
self System.Diagnostics.Process
Résultat IEnumerable