Method GetParameter
GetParameter(string, Type)
Find a parameter in this configuration by name
Declaration
public Parameter GetParameter(string parameterName, Type parameterType)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter to lookup |
Type | parameterType | The type of parameter to lookup |
Returns
Type | Description |
---|---|
Parameter | The parameter if found, null otherwise |
Exceptions
Type | Condition |
---|---|
ParameterConfigurationException |
GetParameter<T>(string)
Find a parameter in this configuration by name and type
Declaration
public T GetParameter<T>(string parameterName) where T : Parameter
Parameters
Type | Name | Description |
---|---|---|
string | parameterName |
Returns
Type | Description |
---|---|
T | The parameter if found, null otherwise |
Type Parameters
Name | Description |
---|---|
T | The type of parameter to look for |