PostSharpAPI ReferencePost­Sharp.​Aspects.​InternalsArguments<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5>Get­Argument
Open sandboxFocus

Method GetArgument

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.