Table of Contents

Create Method

Definition

Namespace
Cuemon.Reflection
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Reflection/MethodDescriptor.cs

Create(MethodBase)

Creates and returns a MethodDescriptor object and automatically determines the type of the signature (be that method or property).

public static MethodDescriptor Create(MethodBase method)

Parameters

method MethodBase

The method to extract a signature for.

Returns

MethodDescriptor

A MethodDescriptor object.

Remarks

Although confusing a property is to be thought of as a method with either one or two methods (Get, Set) contained inside the property declaration.