Click or drag to resize
weroSoft AG, Software
ArgumentStoreBaseGetArgumentSingleValueT Method (String, String, T)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Gets the converted value of the arguments defined.

Namespace:  WeroSoft.Installation
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public virtual T GetArgumentSingleValue<T>(
	string name1,
	string name2,
	T defaultValue
)

Parameters

name1
Type: SystemString
Name of the argument to be used.
name2
Type: SystemString
Name of the argument to be used.
defaultValue
Type: T
Default value which is returned if an error happened in this method, or if no argument is available.

Type Parameters

T
Type of the value to which the argument data shall be converted to.

Return Value

Type: T
Converted value or default value.
Remarks
Gets the value of one of the two arguments. If the first is found its value is returned. If the argument is not existing, the value of the second one is returned.
See Also