Open sandboxFocus

Class Arguments<TArg0, TArg1, TArg2, TArg3, TArg4>

Implementation of Arguments representing a list of 5 arguments.

Inheritance
Arguments<TArg0, TArg1, TArg2, TArg3, TArg4>
Namespace: PostSharp.Aspects.Internals
Assembly: PostSharp.dll
Syntax
[Internal]
public class Arguments<TArg0, TArg1, TArg2, TArg3, TArg4> : Arguments, IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable, ICloneable
Type Parameters
Name Description
TArg0

Type of the first argument.

TArg1

Type of the second argument.

TArg2

Type of the third argument.

TArg3

Type of the fourth argument.

TArg4

Type of the fifth argument.

Constructors

Name Description
Arguments()

Initializes a new Arguments<TArg0, TArg1, TArg2, TArg3, TArg4>.

Fields

Name Description
Arg0

First argument.

Arg1

Second argument.

Arg2

Third argument.

Arg3

Fourth argument.

Arg4

Fifth argument.

Methods

Name Description
CopyFrom(object[], int)

Copies all the argument values from the elements of Array.

CopyTo(object[], int)

Copies all arguments values to the specified Array starting at the specified destination Array index.

GetArgument(int)

Gets the value of the argument at a given index.

SetArgument(int, object)

Sets the value of the ref or out argument at a given index. Replacing an argument value is supported only in some advices and is silently ignored in non-supported scenarios. See Remarks for details.