Resolves a dependency.
Namespace:
Gallio.Runtime.Extensibility
Assembly:
Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
DependencyResolution ResolveDependency(
string parameterName,
Type parameterType,
string configurationArgument
) |
| Visual Basic (Declaration) |
|---|
Function ResolveDependency ( _
parameterName As String, _
parameterType As Type, _
configurationArgument As String _
) As DependencyResolution |
Parameters
- parameterName
- Type: System..::.String
The parameter name.
- parameterType
- Type: System..::.Type
The parameter type.
- configurationArgument
- Type: System..::.String
An optional configuration argument that supplies a value
for the parameter or describes the means by which the value should be obtained, or null if none.
Return Value
An object that describes whether the dependency was satisfied and the value it was assigned.
Exceptions
| Exception | Condition |
|---|
| System..::.ArgumentNullException | Thrown if parameterName or
parameterType is null. |
See Also