We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e01cb commit fb392c2Copy full SHA for fb392c2
AgileMapper/Mapper.cs
@@ -157,7 +157,11 @@ public static IFlatteningSelector<TSource> Flatten<TSource>(TSource source) wher
157
/// <returns>A TargetSelector with which to specify the type of mapping to perform.</returns>
158
public static ITargetSelector<TSource> Map<TSource>(TSource source) => Default.Map(source);
159
160
- internal static void ResetDefaultInstance() => Default.Dispose();
+ /// <summary>
161
+ /// Removes the default Mapper's cached data. Can be useful when testing code which uses
162
+ /// the static Mapper API.
163
+ /// </summary>
164
+ public static void ResetDefaultInstance() => Default.Dispose();
165
166
#endregion
167
0 commit comments