ExtensionBlockInfo Class

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

Definition

Represents reflection information about an extension block.
public sealed class ExtensionBlockInfo : MemberInfo, IEquatable<ExtensionBlockInfo>
Inheritance
Implements

Constructors

ExtensionBlockInfo(Type)Initializes a new instance of the ExtensionBlockInfo class.

Properties

BlockTypeGets the type representing the extension block.
CustomAttributesGets the custom attributes applied to the extension block.
DeclaringTypeGets the type that declares the extension block.
ExtensionMethodsGets the extension methods defined within the extension block.
ExtensionPropertiesGets the extension properties defined within the extension block.
MarkerNameGets the marker name associated with the extension block.
MemberTypeGets the member type of the extension block.
MetadataTokenGets the metadata token for the extension block.
ModuleGets the module in which the extension block is defined.
NameGets the name of the extension block.
ReceiverParameterGets the receiver parameter of the extension block.
ReflectedTypeGets the type that was used to obtain the extension block.
TypeParametersGets the type parameters of the extension block, if the block is generic.

Methods

Equals(ExtensionBlockInfo)Determines whether the current instance is equal to the specified ExtensionBlockInfo object.
Equals(object)Determines whether the specified object is equal to the current instance.
GetCustomAttributes(bool)Returns all custom attributes applied to the extension block.
GetCustomAttributes(Type, bool)Returns custom attributes of the specified type applied to the extension block.
GetCustomAttributesData()Returns custom attribute data for the extension block.
GetHashCode()Returns a hash code for the current instance.
HasSameMetadataDefinitionAs(MemberInfo)Determines whether the extension block has the same metadata definition as the specified member.
IsDefined(Type, bool)Determines whether the specified attribute type is applied to the extension block.

Operators

Equality(ExtensionBlockInfo, ExtensionBlockInfo)Determines whether two ExtensionBlockInfo instances are equal.
Inequality(ExtensionBlockInfo, ExtensionBlockInfo)Determines whether two ExtensionBlockInfo instances are not equal.

Extension Methods

GetMetadata(this MemberInfo)Retrieves metadata for a member.