C# Класс 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"}
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

CallInfo() публичный Метод

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.
Результат System.Collections.Generic

CallInfo() публичный Метод

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.
Результат System.Collections.Generic

Equals() публичный Метод

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.
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for the current CallInfo.
public GetHashCode ( ) : int
Результат int