IMethodBase Interface

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Defines a contract for accessing metadata common to methods and method operators.
public interface IMethodBase : IWithOverloads, IWithParameters, IWithReturnParameter, ITypeMember
Extends
Implemented by

Remarks

This interface is implemented by both regular methods and operator methods, but unlike the .NET reflection API, it does not include constructors.

Extension Methods

GetInheritedMember(this IMember)Retrieves the member that this member directly inherits from.
GetMemberDefinition(this IMember)Retrieves the definition of the member, resolving any constructed or decorated forms to their underlying definitions.
TryGetOwnTypeParameters(this IMember, out IEnumerable<ITypeParameter>)Attempts to get the type parameters declared directly by the specified member if it is generic.