IConstructor Interface

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

Definition

Defines a contract for accessing constructor metadata.
public interface IConstructor : IWithOverloads, IWithParameters, ITypeMember
Extends
Implemented by

Properties

BaseConstructorGets the constructor in the base class that has the same signature as this constructor, if any.
IsDefaultConstructorGets a value indicating whether this constructor is the default public constructor of a type.

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.