C# Class SonarQube.Common.ProcessRunnerArguments

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

Méthodes publiques

Свойство Type Description
SensitivePropertyKeys string[]

Méthodes publiques

Méthode 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 méthode

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

GetCommandLineArgsLogText() public méthode

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

GetQuotedArg() public static méthode

public static GetQuotedArg ( string arg ) : string
arg string
Résultat string

GetQuotedCommandLineArgs() public méthode

public GetQuotedCommandLineArgs ( ) : string
Résultat string

ProcessRunnerArguments() public méthode

public ProcessRunnerArguments ( string exeName, ILogger logger ) : System
exeName string
logger ILogger
Résultat 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
Résultat string[]