IExtensionReflectionRepository Interface

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

Definition

Defines a contract for a repository that manages reflection information about extension methods and properties for a specific assembly.
public interface IExtensionReflectionRepository
Implemented by

Remarks

This interface defines methods to retrieve reflection information about extension methods and properties within an assembly. It allows clients to query for declared extension methods and properties, as well as normalize method information to identify extension members.

Properties

AssemblyGets the assembly whose extensions are managed by the repository.

Methods

GetDeclaredExtensionBlocks(Type)Retrieves reflection information for all extension blocks declared on the given container type.
GetDeclaredExtensionMethods(Type)Retrieves reflection information for all extension methods declared by the extension blocks on the given container type.
GetDeclaredExtensionProperties(Type)Retrieves reflection information for all extension properties declared by the extension blocks on the given container type.
GetExtensionMemberInfo(MethodInfo)Retrieves the extension member information for the specified method, if it is an extension method or property accessor.
GetNormalizedMethodInfo(MethodInfo)Retrieves the normalized reflection information for the specified method as an extension method or property accessor.