Click or drag to resize
weroSoft AG, Software
ArgumentStoreBaseGetArgumentSingleValueT Methode (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.

Namensraum:  WeroSoft.Installation
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 2.1 Development Main
Syntax
C#
public T GetArgumentSingleValue<T>(
	string name1,
	string name2,
	T defaultValue
)

Parameter

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

Typenparameter

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

Rückgabewert

Typ: T
Converted value or default value.
Anmerkungen
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.
Siehe auch