Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / IMember­With­Accessors

Interface IMemberWithAccessors

A base interface for IProperty and IEvent. Exposes GetAccessor(MethodKind).

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IMemberWithAccessors : IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IHasType

Properties

Name Description
Accessors

Gets the list of accessors defined by the current event or property.

Methods

Name Description
GetAccessor(MethodKind)

Gets the accessor for a given MethodKind, or null if the member does not define an accessor of this kind.