MemberVisibility
Namespace: Riok.Mapperly.Abstractions
Determines what member accessibility Mapperly will attempt to map.
public enum MemberVisibility
Inheritance Object → ValueType → Enum → MemberVisibility
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Attributes FlagsAttribute
Fields
Name | Value | Description |
---|---|---|
AllAccessible | 31 | Maps all accessible members. |
All | 30 | Maps 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. |
Accessible | 1 | Maps only accessible members. If not set, the UnsafeAccessorAttribute is used to generate mappings for inaccessible members. |
Public | 2 | Maps public members. |
Internal | 4 | Maps internal members. |
Protected | 8 | Maps protected members. |
Private | 16 | Maps private members. |