public ReadOnlyRedisDictionaryTests() { this._factory = new RedisFactory(); this.serializer = DefaultSerializer.Default; //new NewtonsoftJsonSerializer (); this.dict = new ReadOnlyRedisDictionary <string, ShipName> (_factory.Database, "ShipInfo:ShipNames", serializer); }
public RedisDictionaryTests() { this._factory = new RedisFactory(); this.serializer = DefaultSerializer.Default; this.dict = new RedisDictionary <string, Model> (_factory.Database, "_TEST:Model", serializer); }