Show / Hide Table of Contents

Interface IRuntimeMethodInfo

Contract for a dynamic MethodInfo.

Inherited Members
IMethodInfo.Invoke(Object, IEnumerable<Object>)
IRuntimeElementInfo.GetUnderlyingElementInfo()
IElementInfo.Name
IElementInfo.FullName
IElementInfo.Annotations
IElementInfo.DeclaringContainer
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
IAttributeProvider.GetAttributes<TAttribute>()
Namespace: Kephas.Runtime
Assembly: Kephas.Core.dll
Syntax
public interface IRuntimeMethodInfo : IMethodInfo, IRuntimeElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider

Properties

| Improve this Doc View Source

IsStatic

Gets a value indicating whether this method is static.

Declaration
bool IsStatic { get; }
Property Value
Type Description
System.Boolean

True if this method is static, false if not.

| Improve this Doc View Source

MethodInfo

Gets the method information.

Declaration
MethodInfo MethodInfo { get; }
Property Value
Type Description
System.Reflection.MethodInfo

The method information.

| Improve this Doc View Source

Parameters

Gets the runtime parameters.

Declaration
IDictionary<string, IRuntimeParameterInfo> Parameters { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, IRuntimeParameterInfo>

The runtime parameters.

| Improve this Doc View Source

ReturnType

Gets the return type of the method.

Declaration
IRuntimeTypeInfo ReturnType { get; }
Property Value
Type Description
IRuntimeTypeInfo

The return type of the method.

Methods

| Improve this Doc View Source

TryInvoke(Object, IEnumerable<Object>, out Object)

Tries to invokes the specified method on the provided instance.

Declaration
bool TryInvoke(object instance, IEnumerable<object> args, out object result)
Parameters
Type Name Description
System.Object instance

The instance.

System.Collections.Generic.IEnumerable<System.Object> args

The arguments.

System.Object result

The invocation result.

Returns
Type Description
System.Boolean

A boolean value indicating whether the invocation was successful or not.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
ExpandoExtensions.Merge<T>(T, Object)
ExpandoExtensions.GetLaxValue<T>(IIndexable, String, T)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
AttributeProviderExtensions.GetAttribute<TAttribute>(IAttributeProvider)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX