Skip to main content


Namespace: Riok.Mapperly.Abstractions

Determines what member accessibility Mapperly will attempt to map.

public enum MemberVisibility

Inheritance ObjectValueTypeEnumMemberVisibility
Implements IComparable, IFormattable, IConvertible


AllAccessible31Maps all accessible members.
All30Maps all members, even members which are not directly accessible by the mapper are mapped by using accessors with the UnsafeAccessorAttribute. This can only be used for .NET 8.0 and later.
Accessible1Maps only accessible members. If not set, the UnsafeAccessorAttribute is used to generate mappings for inaccessible members.
Public2Maps public members.
Internal4Maps internal members.
Protected8Maps protected members.
Private16Maps private members.