UtilApplicationParameterizationGetArgumentValueT Method

Determines whether the specified CommandLineValueParameterT is assigned in the given command-line argument, then tries to get the assigned value of the parameter.

Definition

Namespace: DevCase.Core.Application.Parameterization
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static T GetArgumentValue<T>(
	CommandLineValueParameter<T> parameter,
	string argument
)
where T : IConvertible

Parameters

parameter  CommandLineValueParameterT
The CommandLineValueParameterT.
argument  String
The command-line argument.

Type Parameters

T

Return Value

T
The resulting value.

See Also