ExtensionBlockAdapter Class

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

Definition

An adapter that wraps an ExtensionBlockInfo and provides metadata access.
public class ExtensionBlockAdapter : TypeMemberAdapter<ExtensionBlockInfo>, IExtensionBlock
Inheritance
Implements

Constructors

ExtensionBlockAdapter(IType, ExtensionBlockInfo)Initializes a new instance of the ExtensionBlockAdapter class.

Properties

IsGenericBlockGets a value indicating whether this extension block is generic.
IsSpecialNameGets a value indicating whether the member is a special name.
IsStaticGets a value indicating whether the member is static.
IsUnsafeGets a value indicating whether this member is declared as unsafe.
MethodsGets all the public or protected methods declared, overridden, or implemented by the type.
PropertiesGets all the public or protected properties declared, overridden, or implemented by the type.
ReceiverGets the receiver parameter information for this extension block.
TypeParametersGets the generic type parameters of this extension block if it is generic.

Methods

Extends(IType)Determines whether this extension block extends the specified type.
GetCodeReferenceParts()Retrieves the code reference parts for this member.
GetMemberVisibility()Retrieves the visibility of the member.

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.