public ActiveTrips(RedisClient redisClient, string id) { dict = new RedisDictionary <string, Trip>(redisClient, id); dict.Clear(); }
public ActiveTrips(RedisClient redisClient, string id) { dict = new RedisDictionary<string, Trip>(redisClient, id); dict.Clear(); }
private void InitializePersistantDataObjects() { partners = new Dictionary<string, Gateway>(); var redisClient = (RedisClient)redis.GetClient(); originatingPartnerByTrip = new RedisDictionary<string, string>(redisClient, ID + ":" + MemberInfoGetting.GetMemberName(() => originatingPartnerByTrip)); originatingPartnerByTrip.Clear(); servicingPartnerByTrip = new RedisDictionary<string, string>(redisClient, ID + "." + MemberInfoGetting.GetMemberName(() => servicingPartnerByTrip)); servicingPartnerByTrip.Clear(); partnerCoverage = new RedisDictionary<string, List<Zone>>(redisClient, ID + "." + MemberInfoGetting.GetMemberName(() => partnerCoverage)); partnerCoverage.Clear(); partnerAccounts.Clear(); clientIdByAccessToken.Clear(); }