Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 408
Immutable
chaowlert edited this page Jul 30, 2020
·
1 revision
Immutable collection supports
PM> Install-Package Mapster.Immutable
Call EnableImmutableMapping from your TypeAdapterConfig to enable Immutable collection.
TypeAdapterConfig.GlobalSettings.EnableImmutableMapping();or
config.EnableImmutableMapping();This will allow mapping to
IImmutableDictionary<,>IImmutableList<>IImmutableQueue<>IImmutableSet<>IImmutableStack<>ImmutableArray<>ImmutableDictionary<,>ImmutableHashSet<>ImmutableList<>ImmutableQueue<>ImmutableSortedDictionary<,>ImmutableSortedSet<>ImmutableStack<>