Skip to content

Class ReflectionMethodDescriptor

Definition

Namespace: StardewUI.Framework.Descriptors
Assembly: StardewUI.dll

Helper for creating IMethodDescriptor instances using reflection.

public static class ReflectionMethodDescriptor

Inheritance
Object ⇦ ReflectionMethodDescriptor

Members

Methods

Name Description
IsSupported(MethodInfo) Checks if a method is supported for view binding.

Details

Methods

IsSupported(MethodInfo)

Checks if a method is supported for view binding.

public static bool IsSupported(System.Reflection.MethodInfo method);
Parameters

method   MethodInfo
The method info.

Returns

Boolean

true if a StardewUI.Framework.Descriptors.ReflectionMethodDescriptor<TResult> can be created for the specified method, otherwise false.