C# Class VSCodeDebug.Utilities

Exibir arquivo Open project: Microsoft/vscode-mono-debug

Public Methods

Method Description
ExpandVariables ( string format, dynamic variables, bool underscoredOnly = true ) : string
FindFreePort ( int fallback ) : int
FixPathOnOSX ( ) : void
IsLinux ( ) : bool
IsOSX ( ) : bool
IsWindows ( ) : bool
MakeRelativePath ( string dirPath, string absPath ) : string
ResolveIPAddress ( string addressString ) : IPAddress

Method Details

ExpandVariables() public static method

public static ExpandVariables ( string format, dynamic variables, bool underscoredOnly = true ) : string
format string
variables dynamic
underscoredOnly bool
return string

FindFreePort() public static method

public static FindFreePort ( int fallback ) : int
fallback int
return int

FixPathOnOSX() public static method

public static FixPathOnOSX ( ) : void
return void

IsLinux() public static method

public static IsLinux ( ) : bool
return bool

IsOSX() public static method

public static IsOSX ( ) : bool
return bool

IsWindows() public static method

public static IsWindows ( ) : bool
return bool

MakeRelativePath() public static method

public static MakeRelativePath ( string dirPath, string absPath ) : string
dirPath string
absPath string
return string

ResolveIPAddress() public static method

public static ResolveIPAddress ( string addressString ) : IPAddress
addressString string
return System.Net.IPAddress