Open sandboxFocus

Class Arguments<TArg0, TArg1>

Implements Arguments for a list of 2 arguments.

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

The type of the first argument.

TArg1

The type of the second argument.

Constructors

Name Description
Arguments()

Initializes a new instance of the Arguments<TArg0, TArg1> class.

Fields

Name Description
Arg0

The first argument.

Arg1

The second argument.

Methods

Name Description
CopyFrom(object[], int)

Copies all the argument values from the elements of an Array.

CopyTo(object[], int)

Copies all argument values to the specified Array, starting at the specified index of the destination Array.

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 unsupported scenarios. See Remarks for details.