Skip to content

Commit c7eacd3

Browse files
committed
Make Cache public again but internal members internal
1 parent 278c9f9 commit c7eacd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Slapper.AutoMapper/Slapper.AutoMapper.Cache.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@ public static partial class AutoMapper
4343
/// <summary>
4444
/// Contains the methods and members responsible for this libraries caching concerns.
4545
/// </summary>
46-
internal static class Cache
46+
public static class Cache
4747
{
4848
/// <summary>
4949
/// The name of the instance cache stored in the logical call context.
5050
/// </summary>
51-
public const string InstanceCacheContextStorageKey = "Slapper.AutoMapper.InstanceCache";
51+
internal const string InstanceCacheContextStorageKey = "Slapper.AutoMapper.InstanceCache";
5252

5353
/// <summary>
5454
/// Cache of TypeMaps containing the types identifiers and PropertyInfo/FieldInfo objects.
5555
/// </summary>
56-
public static readonly ConcurrentDictionary<Type, TypeMap> TypeMapCache = new ConcurrentDictionary<Type, TypeMap>();
56+
internal static readonly ConcurrentDictionary<Type, TypeMap> TypeMapCache = new ConcurrentDictionary<Type, TypeMap>();
5757

5858
/// <summary>
5959
/// A TypeMap holds data relevant for a particular Type.
6060
/// </summary>
61-
public class TypeMap
61+
internal class TypeMap
6262
{
6363
/// <summary>
6464
/// Creates a new <see cref="TypeMap"/>.

0 commit comments

Comments
 (0)