Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit ade42fb

Browse files
committed
GetTypedClient is deprecated
1 parent 3f3aa71 commit ade42fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ServiceStack.Redis.Tests/ShippersExample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void Shippers_UseCase()
5151
using (var redisClient = new RedisClient(TestConfig.SingleHost))
5252
{
5353
//Create a 'strongly-typed' API that makes all Redis Value operations to apply against Shippers
54-
IRedisTypedClient<Shipper> redis = redisClient.GetTypedClient<Shipper>();
54+
IRedisTypedClient<Shipper> redis = redisClient.As<Shipper>();
5555

5656
//Redis lists implement IList<T> while Redis sets implement ICollection<T>
5757
var currentShippers = redis.Lists["urn:shippers:current"];
@@ -120,4 +120,4 @@ public void Shippers_UseCase()
120120
}
121121

122122
}
123-
}
123+
}

0 commit comments

Comments
 (0)