MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIHas­AccessorsGet­Accessor
Open sandboxFocus

IHasAccessors.GetAccessor Method

GetAccessor(MethodKind)

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

Declaration
IMethod GetAccessor(MethodKind methodKind)
Parameters
Type Name Description
MethodKind methodKind

PropertyGet, PropertySet, EventAdd, EventRemove or EventRaise.

Returns
Type Description
IMethod