PostSharpAPI ReferencePost­Sharp.​Aspects.​InternalsArguments<TArg0>Get­Argument
Open sandboxFocus

Arguments<TArg0>.GetArgument Method

GetArgument(Int32)

Gets the value of the argument at a given index.

Declaration
public override object GetArgument(int index)
Parameters
Type Name Description
Int32 index

Argument index.

Returns
Type Description
Object

The value of the argument at position index.

Overrides
Arguments.GetArgument(Int32)
Exceptions
Type Condition
ArgumentOutOfRangeException

index is lower than zero or greater or equal than Count.