CallInfo Class

Definition

Describes arguments in the dynamic binding process.

public ref class CallInfo sealed
public sealed class CallInfo
type CallInfo = class
Public NotInheritable Class CallInfo
Inheritance
CallInfo

Examples

SampleMethod(arg1, arg2, arg3, name1 = arg4, name2 = arg5, name3 = arg6) will correspond to ArgumentCount: 6 ArgumentNames: {"name1", "name2", "name3"}.

Remarks

ArgumentCount - all inclusive number of arguments.

ArgumentNames - names for those arguments that are named.

Argument names match to the argument values in left to right order and last name corresponds to the last argument.

Constructors

CallInfo(Int32, IEnumerable<String>)

Creates a new CallInfo that represents arguments in the dynamic binding process.

CallInfo(Int32, String[])

Creates a new PositionalArgumentInfo.

Properties

ArgumentCount

The number of arguments.

ArgumentNames

The argument names.

Methods

Equals(Object)

Determines whether the specified CallInfo instance is considered equal to the current.

GetHashCode()

Serves as a hash function for the current CallInfo.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to