Autofac .NET Inversion of Control Container
Positional<(Of <(T>)>) Method (parameters, position)
NamespacesAutofacParameterExtensionsPositional<(Of <(T>)>)(IEnumerable<(Of <(Parameter>)>), Int32)
Retrieve a positional parameter value from a PositionalParameter instance.
Declaration Syntax
C#Visual BasicVisual C++
public static T Positional<T>(
	IEnumerable<Parameter> parameters,
	int position
)
Public Shared Function Positional(Of T) ( _
	parameters As IEnumerable(Of Parameter), _
	position As Integer _
) As T
public:
generic<typename T>
static T Positional(
	IEnumerable<Parameter^>^ parameters, 
	int position
)
Generic Template Parameters
T
The type to which the returned value will be cast.
Parameters
parameters (IEnumerable<(Of <(Parameter>)>))
The available parameters to choose from.
position (Int32)
The zero-based position of the parameter to select.
Return Value
The value of the selected parameter.
Remarks
The position value is the one associated with the parameter when it was constructed, not its index into the parameters sequence.
See Also

Assembly: Autofac (Module: Autofac) Version: 2.1.13.813 (2.1.13.813)