C# Class System.Dynamic.CallInfo

Describes arguments in the dynamic binding process.
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. Example: Foo(arg1, arg2, arg3, name1 = arg4, name2 = arg5, name3 = arg6) will correspond to: ArgumentCount: 6 ArgumentNames: {"name1", "name2", "name3"}
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
CallInfo ( int argCount ) : System.Collections.Generic

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

CallInfo ( int argCount, IEnumerable argNames ) : System.Collections.Generic

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

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Serves as a hash function for the current CallInfo.

Method Details

CallInfo() public method

Creates a new CallInfo that represents arguments in the dynamic binding process.
public CallInfo ( int argCount ) : System.Collections.Generic
argCount int The number of arguments.
return System.Collections.Generic

CallInfo() public method

Creates a new CallInfo that represents arguments in the dynamic binding process.
public CallInfo ( int argCount, IEnumerable argNames ) : System.Collections.Generic
argCount int The number of arguments.
argNames IEnumerable The argument names.
return System.Collections.Generic

Equals() public method

Determines whether the specified CallInfo instance is considered equal to the current.
public Equals ( object obj ) : bool
obj object The instance of CallInfo to compare with the current instance.
return bool

GetHashCode() public method

Serves as a hash function for the current CallInfo.
public GetHashCode ( ) : int
return int