PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Arguments Class / Arguments Methods
Arguments Methods

The Arguments type exposes the following members.

Methods
  Name Description
Public method Clone
Returns a shallow copy of the current object.
Public method CopyFrom
Copies all the argument values from the elements of Array.
Public method CopyTo
Copies all arguments values to the specified Array starting at the specified destination Array index.
Public method Static member Create(Object[])
Creates a weakly-typed Arguments object representing any number of arguments.
Public method Static member Create<T>(T)
Creates a strongly-typed Arguments object representing 1 argument.
Public method Static member Create<T0, T1>(T0, T1)
Creates a strongly-typed Arguments object representing 2 arguments.
Public method Static member Create<T0, T1, T2>(T0, T1, T2)
Creates a strongly-typed Arguments object representing 3 arguments.
Public method Static member Create<T0, T1, T2, T3>(T0, T1, T2, T3)
Creates a strongly-typed Arguments object representing 4 arguments.
Public method Static member Create<T0, T1, T2, T3, T4>(T0, T1, T2, T3, T4)
Creates a strongly-typed Arguments object representing 5 arguments.
Public method Static member Create<T0, T1, T2, T3, T4, T5>(T0, T1, T2, T3, T4, T5)
Creates a strongly-typed Arguments object representing 6 arguments.
Public method Static member Create<T0, T1, T2, T3, T4, T5, T6>(T0, T1, T2, T3, T4, T5, T6)
Creates a strongly-typed Arguments object representing 7 arguments.
Public method Static member Create<T0, T1, T2, T3, T4, T5, T6, T7>(T0, T1, T2, T3, T4, T5, T6, T7)
Creates a strongly-typed Arguments object representing 8 arguments.
Public method GetArgument
Gets the value of the argument at a given index.
Public method GetEnumerator
Returns an enumerator that iterates through the collection.
Public method SetArgument
Sets the value of the argument at a given index.
Public method ToArray
Converts the current argument list into an Array.
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Public Extension Method ToAdvisableCollection<Object>
Converts an IEnumerable<T> into an AdvisableCollection<T>.
(Defined by Extensions.)
Public Extension Method ToAdvisableDictionary<Object, TKey, TValue>
Converts an IEnumerable<T> into a AdvisableDictionary<TKey, TValue> given a method returning the item key and a method returning the item value.
(Defined by Extensions.)
Public Extension Method ToAdvisableHashSet<Object>
Converts an IEnumerable<T> into an AdvisableHashSet<T>.
(Defined by Extensions.)
See Also