From 7f56a803b221eb1f19db461836286665e5906569 Mon Sep 17 00:00:00 2001 From: Mykhailo Matviiv Date: Sat, 6 Jul 2019 17:54:51 +0300 Subject: [PATCH] Make GeoRadiusResult constructor public to make it mockable --- src/StackExchange.Redis/GeoEntry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StackExchange.Redis/GeoEntry.cs b/src/StackExchange.Redis/GeoEntry.cs index 059fc531b..bf97404d2 100644 --- a/src/StackExchange.Redis/GeoEntry.cs +++ b/src/StackExchange.Redis/GeoEntry.cs @@ -68,7 +68,7 @@ public readonly struct GeoRadiusResult /// Tthe distance from the result. /// The hash of the result. /// The geo position of the result. - internal GeoRadiusResult(in RedisValue member, double? distance, long? hash, GeoPosition? position) + public GeoRadiusResult(in RedisValue member, double? distance, long? hash, GeoPosition? position) { Member = member; Distance = distance;