CommandSettingsExtensions.

WithToolName<T>(T, string) Method

Summary

Sets the tool name.

Syntax

public static T WithToolName<T>(this T toolSettings, string toolName) where T : CommandSettings

Type Parameters

Name Description
T The ToolSettings type.

Parameters

Name Type Description
toolSettings T The tools settings.
toolName string The tool name.

Return Value

Type Description
T The tools settings.