Implementation of Arguments representing a list of arguments of arbitrary length and type.
Namespace: PostSharp.Aspects.Internals
Assembly: PostSharp.dll
Syntax
[Internal]
public sealed class ArgumentsArray : Arguments, IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable, ICloneable
Remarks
Unless generic implementations of Arguments, ArgumentsArray boxes all arguments into an Array, resulting in lower performance and higher memory usage.
Constructors
Name | Description |
---|---|
ArgumentsArray(object[]) | Initializes a new ArgumentsArray. |
Properties
Name | Description |
---|---|
Arguments | Gets or sets the underlying array of arguments. |
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 |