C# 클래스 ApprovalTests.Utilities.ParentProcessUtils

파일 보기 프로젝트 열기: approvals/ApprovalTests.Net

공개 메소드들

메소드 설명
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