IMember Interface
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Defines a contract for accessing member metadata.
public interface IMember : IWithCustomAttributes, IMetadataAdapter<MemberInfo>- Extends
- Implemented by
- ClassTypeAdapter
- CompositeTypeAdapter
- ConstructorAdapter
- DelegateTypeAdapter
- EnumTypeAdapter
- EventAdapter
- FieldAdapter
- GenericCapableTypeAdapter
- InterfaceTypeAdapter
- MemberAdapter<T>
- MethodAdapter
- OperatorAdapter
- PrimitiveTypeAdapter
- PropertyAdapter
- StructTypeAdapter
- TypeAdapter
- TypeDecoratorAdapter
- TypeMemberAdapter<T>
- TypeParameterAdapter
- VirtualTypeMemberAdapter<T>
- IClassType
- ICompositeType
- IConstructor
- IDelegateType
- IEnumType
- IEvent
- IField
- IGenericCapableType
- IInterfaceCapableType
- IInterfaceType
- IMethod
- IMethodBase
- IOperator
- IPrimitiveType
- IProperty
- IStructType
- IType
- ITypeDecorator
- ITypeMember
- ITypeParameter
- IVirtualTypeMember
Remarks
This interface serves as the base for all member types derived from MemberInfo.
Properties
| Assembly | Gets the assembly that contains the member. |
| CodeReference | Gets the code reference for the member. |
| DeclaringType | Gets the declaring type of the member, if any. |
| IsCompilerGenerated | Gets a value indicating whether the member is generated by the compiler. |
| IsDirectDeclaration | Gets a value indicating whether the member represents a direct declaration. |
| IsPublic | Gets a value indicating whether the member is public. |
| IsSpecialName | Gets a value indicating whether the member is a special name. |
| IsStatic | Gets a value indicating whether the member is static. |
| IsUnsafe | Gets a value indicating whether this member is declared as unsafe. |
| IsVisible | Gets a value indicating whether the member is visible whithin its declaring context. |
| Name | Gets the unqualified name of the member. |
| Namespace | Gets the namespace of the member. |
| ReflectedType | Gets the type that was used to obtain this member. |
| Visibility | Gets the visibility level 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. |
