Class DynamicMethodInfo
Information about the dynamic method.
Inheritance
System.Object
System.Dynamic.DynamicObject
DynamicMethodInfo
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Reflection.Dynamic
Assembly: Kephas.Core.dll
Syntax
public class DynamicMethodInfo : DynamicElementInfo, IMethodInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Properties
| Improve this Doc View SourceParameters
Gets the method parameters.
Declaration
public IEnumerable<IParameterInfo> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IParameterInfo> | The method parameters. |
ReturnType
Gets or sets the return type of the method.
Declaration
public ITypeInfo ReturnType { get; protected set; }
Property Value
Type | Description |
---|---|
ITypeInfo | The return type of the method. |
Methods
| Improve this Doc View SourceInvoke(Object, IEnumerable<Object>)
Invokes the specified method on the provided instance.
Declaration
public object Invoke(object instance, IEnumerable<object> args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance | The instance. |
System.Collections.Generic.IEnumerable<System.Object> | args | The arguments. |
Returns
Type | Description |
---|---|
System.Object | The invocation result. |
Implements
System.Dynamic.IDynamicMetaObjectProvider