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
- object
- MemberInfo
- ExtensionBlockInfo
- Implements
Constructors
| ExtensionBlockInfo(Type) | Initializes a new instance of the ExtensionBlockInfo class. |
Properties
| BlockType | Gets the type representing the extension block. |
| CustomAttributes | Gets the custom attributes applied to the extension block. |
| DeclaringType | Gets the type that declares the extension block. |
| ExtensionMethods | Gets the extension methods defined within the extension block. |
| ExtensionProperties | Gets the extension properties defined within the extension block. |
| MarkerName | Gets the marker name associated with the extension block. |
| MemberType | Gets the member type of the extension block. |
| MetadataToken | Gets the metadata token for the extension block. |
| Module | Gets the module in which the extension block is defined. |
| Name | Gets the name of the extension block. |
| ReceiverParameter | Gets the receiver parameter of the extension block. |
| ReflectedType | Gets the type that was used to obtain the extension block. |
| TypeParameters | Gets 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. |
