public ILocation GetLocation(EntityId entityId) { if (_locationDictionary.ContainsKey(entityId)) { return _locationDictionary[entityId]; } ILocation proxy = new LocationProxy(entityId, _client, this); _locationDictionary.Add(entityId, proxy); return proxy; }