Show / Hide Table of Contents

Interface IOverloadableMemberDescriptor

Specialized IMemberDescriptor for members supporting overloads resolution.

Inherited Members
IMemberDescriptor.IsStatic
IMemberDescriptor.Name
IMemberDescriptor.MemberAccess
IMemberDescriptor.GetValue(Script, Object)
IMemberDescriptor.SetValue(Script, Object, DynValue)
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IOverloadableMemberDescriptor : IMemberDescriptor

Properties

ExtensionMethodType

Gets the type which this extension method extends, null if this is not an extension method.

Declaration
Type ExtensionMethodType { get; }
Property Value
Type

Parameters

Gets the type of the arguments of the underlying CLR function

Declaration
ParameterDescriptor[] Parameters { get; }
Property Value
ParameterDescriptor[]

SortDiscriminant

Gets a sort discriminant to give consistent overload resolution matching in case of perfectly equal scores

Declaration
string SortDiscriminant { get; }
Property Value
System.String

VarArgsArrayType

Gets a value indicating the type of the ParamArray parameter of a var-args function. If the function is not var-args, null is returned.

Declaration
Type VarArgsArrayType { get; }
Property Value
Type

VarArgsElementType

Gets a value indicating the type of the elements of the ParamArray parameter of a var-args function. If the function is not var-args, null is returned.

Declaration
Type VarArgsElementType { get; }
Property Value
Type

Methods

Execute(Script, Object, ScriptExecutionContext, CallbackArguments)

Invokes the member from script. Implementors should raise exceptions if the value cannot be executed or if access to an instance member through a static userdata is attempted.

Declaration
DynValue Execute(Script script, object obj, ScriptExecutionContext context, CallbackArguments args)
Parameters
Script script

The script.

System.Object obj

The object.

ScriptExecutionContext context

The context.

CallbackArguments args

The arguments.

Returns
DynValue

Back to top Built by Itinero, MIT licensed.