C# Class SonarQube.Common.ProcessRunnerArguments

Data class containing parameters required to execute a new process
Mostra file Open project: SonarSource-VisualStudio/sonarqube-roslyn-sdk Class Usage Examples

Public Properties

Property Type Description
SensitivePropertyKeys string[]

Public Methods

Method Description
ContainsSensitiveData ( string text ) : bool

Determines whether the text contains sensitive data that should not be logged/written to file

GetCommandLineArgsLogText ( ) : string

Returns the string that should be used when logging command line arguments (sensitive data will have been removed)

GetQuotedArg ( string arg ) : string
GetQuotedCommandLineArgs ( ) : string
ProcessRunnerArguments ( string exeName, ILogger logger ) : System

Method Details

ContainsSensitiveData() public static method

Determines whether the text contains sensitive data that should not be logged/written to file
public static ContainsSensitiveData ( string text ) : bool
text string
return bool

GetCommandLineArgsLogText() public method

Returns the string that should be used when logging command line arguments (sensitive data will have been removed)
public GetCommandLineArgsLogText ( ) : string
return string

GetQuotedArg() public static method

public static GetQuotedArg ( string arg ) : string
arg string
return string

GetQuotedCommandLineArgs() public method

public GetQuotedCommandLineArgs ( ) : string
return string

ProcessRunnerArguments() public method

public ProcessRunnerArguments ( string exeName, ILogger logger ) : System
exeName string
logger ILogger
return System

Property Details

SensitivePropertyKeys public_oe static_oe property

Strings that are used to indicate arguments that contain sensitive data that should not be logged
public static string[] SensitivePropertyKeys
return string[]