IMethod Interface
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Defines a contract for accessing method metadata.
public interface IMethod : IWithExtensionBehavior, IMethodBase- Extends
- Implemented by
Properties
| ImplementedMethod | Gets the interface method that this method implements, if any. |
| IsClassicExtensionMethod | Gets a value indicating whether the method is a classic extension method. |
| IsGenericMethod | Gets a value indicating whether the method is generic. |
| OverriddenMethod | Gets the base method that this method overrides, if any. |
| TypeParameters | Gets the type parameters declared by the method if it is generic. |
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. |
