PostSharp//API Reference/Post­Sharp.​Aspects.​Internals/Arguments<TArg0>
Open sandboxFocus

Class Arguments<TArg0>

Implementation of Arguments representing a list of 1 argument.

Inheritance
Arguments<TArg0>
Namespace: PostSharp.Aspects.Internals
Assembly: PostSharp.dll
Syntax
[Internal]
public class Arguments<TArg0> : Arguments
Type Parameters
Name Description
TArg0

Type of the first argument.

Constructors

Name Description
Arguments()

Initializes a new Arguments<TArg0>.

Fields

Name Description
Arg0

First Argument.

Methods

Name Description
CopyFrom(Object[], Int32)

Copies all the argument values from the elements of Array.

CopyTo(Object[], Int32)

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

GetArgument(Int32)

Gets the value of the argument at a given index.

SetArgument(Int32, 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.