ServiceStack.Redis.RedisNativeClient.GeoDist C# (CSharp) Method

GeoDist() public method

public GeoDist ( string key, string fromMember, string toMember, string unit = null ) : double
key string
fromMember string
toMember string
unit string
return double
        public double GeoDist(string key, string fromMember, string toMember, string unit = null)
        {
            if (key == null)
                throw new ArgumentNullException("key");

            return unit == null
                ? SendExpectDouble(Commands.GeoDist, key.ToUtf8Bytes(), fromMember.ToUtf8Bytes(), toMember.ToUtf8Bytes())
                : SendExpectDouble(Commands.GeoDist, key.ToUtf8Bytes(), fromMember.ToUtf8Bytes(), toMember.ToUtf8Bytes(), unit.ToUtf8Bytes());
        }
RedisNativeClient